Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

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

    QML and Qt Quick
    3
    5
    5046
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Shadders
      Shadders last edited by

      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/libQt5QuickWidgets.so.5 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,

      Shadders.

      1 Reply Last reply Reply Quote 0
      • Shadders
        Shadders last edited by

        HI,

        I implemented the deletion as per the link below :

        https://forum.qt.io/topic/42211/solved-unknown-module-s-in-qt-quick-qml/19

        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)
        ABI:x86-linux-generic-elf-64bit
        Source:/usr/lib64/qt5
        mkspec:linux-g++
        qmake:/usr/bin/qmake-qt5
        Version:5.6.0
        QMAKE_SPEC linux-g++
        QMAKE_VERSION3.0
        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_CONFIGURATION /etc/xdg
        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_SYSROOT 
        QT_VERSION 5.6.0
        

        Thanks and regards,

        Shadders.

        1 Reply Last reply Reply Quote 0
        • SGaist
          SGaist Lifetime Qt Champion last edited by

          Hi,

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

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          Shadders 1 Reply Last reply Reply Quote 0
          • Shadders
            Shadders @SGaist last edited by

            @SGaist
            Hi SGaist,

            I have three modules that i cannot install :

            qt5-qtdeclarative-devel
            qt5-qtquickcontrols2-devel
            qt5-qtquickcontrols2-static
            

            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.

            I 1 Reply Last reply Reply Quote 0
            • I
              Illogica @Shadders last edited by

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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post