Building QTCreator on RHEL 6.6 Unknown module(s) in QT: widgets



  • I am trying to build QT Creator on RHEL 6.6 and get the below error after running qmake
    [root@localhost qt-creator-opensource-src-4.3.1]# qmake -r
    Info: creating cache file /root/Downloads/qt-creator-opensource-src-4.3.1/.qmake.cache
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/src.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/lib/corelib/corelib.pro
    Project MESSAGE: This project is using private headers and will therefore be tied to this specific Qt module build version.
    Project MESSAGE: Running this project against other versions of the Qt modules may crash at any arbitrary point.
    Project MESSAGE: This is not a bug, but a result of using Qt internals. You have been warned!
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/lib/qtprofilesetup/qtprofilesetup.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/app.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/qbs/qbs.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/qbs-create-project/qbs-create-project.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/qbs-setup-android/qbs-setup-android.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/qbs-setup-toolchains/qbs-setup-toolchains.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/qbs-setup-qt/qbs-setup-qt.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/config/config.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/app/qbs-qmltypes/qbs-qmltypes.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/libexec/libexec.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/libexec/qbs_processlauncher/qbs_processlauncher.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/plugins/plugins.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/plugins/scanner/scanner.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/plugins/scanner/cpp/cpp.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/src/plugins/scanner/qt/qt.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/shared/qbs/static.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/libs/libs.pro
    Reading /root/Downloads/qt-creator-opensource-src-4.3.1/src/libs/aggregation/aggregation.pro
    Project ERROR: Unknown module(s) in QT: widgets


  • Moderators

    Well, do you have QtWidgets module installed? Where did you get Qt from - installer, self-compiled, or from RHEL itself? Which Qt version is it?


Log in to reply
 

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