Qt 5.1.1 does not build - uic: No such file or directory



  • CentOS 6; I followed all the instruction written here on how to build here: http://qt-project.org/wiki/Building_Qt_5_from_Git

    I am not quite a newbie since I build my Qt deployments since 4.1.2 (2006 or so). I was really excited about seeing the linux bin what eventually does not work for me. WebKit building is real pain in whereever. I actually built Qt 5.1.0 on CentOS 6.4 and it worked, only 5.1.0 and only on 6.4.

    However, Qt 5.1.1 looks to be very badly broken, it does not find uic.

    I issued (bad habit working as root, do not tell me; this is a dev VM and is only mine):
    [code]
    ./configure -developer-build -nomake examples -nomake tests -opensource -confirm-license -shared -fully-process -qt-sql-mysql -qt-sql-odbc -javascript-jit -platform linux-g++ -qt-zlib -qt-libpng -qt-libjpeg -openssl -qt-xcb -qt-xkbcommon -gui -widgets -opengl
    [/code]

    Configure goes for a while, including the "Configuration summary part". All looks good.

    Then out of the blue it strikes:
    [code]
    Creating makefiles. Please wait...
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/src.pro
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/tools/bootstrap/bootstrap.pro
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/tools/moc/moc.pro
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/tools/rcc/rcc.pro
    ...
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/tools/uic/uic.pro
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/widgets/widgets.pro

    sh: /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/bin/uic: No such file or directory
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/opengl/opengl.pro
    Reading /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/src/printsupport/printsupport.pro
    sh: /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/bin/uic: No such file or directory
    sh: /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/bin/uic: No such file or directory
    sh: /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/bin/uic: No such file or directory
    sh: /root/development/qt/qt5/5.1.1-src/qt-everywhere-opensource-src-5.1.1/qtbase/bin/uic: No such file or directory
    [/code]

    And there are a lot more missing uic errors. The .tar.gz Qt 5.1.1 source looks to be badly broken.



  • Same issue here. With option -fully-process Qt 5.1.1 drops a lot of this error during config phase.


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.