Important: Please read the Qt Code of Conduct -

QT Quick - Project ERROR: Unknown module(s) in QT: qml quick

  • Hi,

    Apologies, going through a tutorial book and the following issue from the compilation :

    Project ERROR: Unknown module(s) in QT: qml quick

    Seems to point to "QT += qml quick" in the .pro file.

    Using Linux - Fedora Core 23

    I am trying to install all packages using dnf etc., but i do get this conflict :

    Error: Transaction check error:
      file /usr/lib64/ from install of qt5-qtdeclarative-devel-5.6.0-4.fc23.x86_64 conflicts with file from package qt5-qtdeclarative-5.5.0-2.fc23.x86_64

    So, not sure what to do.

    I have searched this forum, and stackexchange etc., - but cannot see the resolution.

    I did not want to modify my installation and place it into a state that would not be recoverable.

    I have seen statements that the build path has to be modified, or delete specific QT files for rebuild - but i am not sure if this is the correct approach.

    I used the QT Quick wizard - did not select any options other than default - using QT5.

    Any guidance gratefully received.

    Thanks and regards,


  • HI,

    I implemented the deletion as per the link below :

    This did not work.

    I checked the Build and Run options - Qt Versions indicates that :

    Qt 5.6.0 in Path /usr/bin/qmake-qt5    has a warning triangle sign

    On this page states No qmlscene installed - is this an issue ?

    Examining the details for Qt Verwion 5.6.0 for Desktop - all fields seem to be provisioned except for QT_SYSROOT.

    I cannot see where the modules are installed - so as to ensure that qml quick files are installed.

    Name:Qt 5.6.0 in PATH (System)
    QMAKE_SPEC linux-g++
    QMAKE_XSPEC linux-g++
    QT_HOST_BINS /usr/lib64/qt5/bin
    QT_HOST_DATA /usr/lib64/qt5
    QT_HOST_LIBS /usr/lib64
    QT_HOST_PREFIX /usr/lib64/qt5
    QT_INSTALL_ARCHDATA /usr/lib64/qt5
    QT_INSTALL_BINS /usr/lib64/qt5/bin
    QT_INSTALL_DATA /usr/share/qt5
    QT_INSTALL_DEMOS /usr/lib64/qt5/examples
    QT_INSTALL_DOCS /usr/share/doc/qt5
    QT_INSTALL_EXAMPLES /usr/lib64/qt5/examples
    QT_INSTALL_HEADERS /usr/include/qt5
    QT_INSTALL_IMPORTS /usr/lib64/qt5/imports
    QT_INSTALL_LIBEXECS /usr/lib64/qt5/libexec
    QT_INSTALL_LIBS /usr/lib64
    QT_INSTALL_PLUGINS /usr/lib64/qt5/plugins
    QT_INSTALL_PREFIX /usr/lib64/qt5
    QT_INSTALL_QML /usr/lib64/qt5/qml
    QT_INSTALL_TESTS /usr/lib64/qt5/tests
    QT_INSTALL_TRANSLATIONS /usr/share/qt5/translations
    QT_VERSION 5.6.0

    Thanks and regards,


  • Lifetime Qt Champion


    Are you sure you installed all of Qt's development packages on your system ?

  • @SGaist
    Hi SGaist,

    I have three modules that i cannot install :


    Seems to be a library conflict as above - so i have a post on Fedora forum to ask on how to resolve.

    Hopefully this will resolve - i have searched internet some more and none of the answers so far assist.

    Thanks and regards,


  • @Shadders for Fedora 23, run dnf install qt5-qtquickcontrols2-devel. You don't need qt5-qtquickcontrols2-static.

Log in to reply