Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. QT Quick - Project ERROR: Unknown module(s) in QT: qml quick
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
5 Posts 3 Posters 5.6k Views
  • 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.
  • ShaddersS Offline
    ShaddersS Offline
    Shadders
    wrote on last edited by
    #1

    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
    0
    • ShaddersS Offline
      ShaddersS Offline
      Shadders
      wrote on last edited by
      #2

      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
      0
      • SGaistS Offline
        SGaistS Offline
        SGaist
        Lifetime Qt Champion
        wrote on last edited by
        #3

        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

        ShaddersS 1 Reply Last reply
        0
        • SGaistS SGaist

          Hi,

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

          ShaddersS Offline
          ShaddersS Offline
          Shadders
          wrote on last edited by
          #4

          @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
          0
          • ShaddersS Shadders

            @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 Offline
            I Offline
            Illogica
            wrote on last edited by
            #5

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

            1 Reply Last reply
            0

            • Login

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • Users
            • Groups
            • Search
            • Get Qt Extensions
            • Unsolved