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. Project ERROR: Unknown module(s) in QT: quick
QtWS25 Last Chance

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

Scheduled Pinned Locked Moved QML and Qt Quick
6 Posts 3 Posters 5.2k 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.
  • M Offline
    M Offline
    mikeyj001
    wrote on last edited by
    #1

    Hi,

    I'm trying to build QtWebkit for Qt 5.2. I get the error in the title of this post. My question is which libraries and headers are being looked for in the build process. Where are they supposed to be located? I've installed and built Qt 5.2 in a custom location. I'm using KUbuntu 13.10 64 bit, so will the libraries for QtQuick 2 be looked for in /usr/lib64, /usr/lib/x86_64-linux-gnu, or lib64. Likewise for the headers in their respective directories?

    I've seen libraries like /usr/lib/x86_64-linux-gnu/qt5/qml/QtQuick.2/libqtquick2plugin.so, and /usr/lib/x86_64-linux-gnu/libQt5Quick.so.5.0.2 so if any of these are required, how can it be picked up in the .pro file? Should it still be QT += quick ?

    I've installed lots of packages which seem to be for 5.02 or 5.1, but the module is still not picked up.

    So the bottom line is, which packages/dependencies are required for QtQuick 2 on Qt 5.2 in order to build QtWebkit, and where should the libraries and headers be located on the file system.

    Thanks for any help.

    1 Reply Last reply
    0
    • T Offline
      T Offline
      tucnak
      wrote on last edited by
      #2

      Hello, ~mikeyj001

      Welcome to Qt Developers' Network!

      This error means and only means that QtQuick as separate module (which is main for the keyword 'quick' is not available in your Qt build). You may reinstall Qt with QtQuick enabled (look at configure --help).

      1 Reply Last reply
      0
      • M Offline
        M Offline
        mikeyj001
        wrote on last edited by
        #3

        Hi Tucnak. Thanks for your information, I actually thought that QtQuick was built automatically in Qt.

        I'll try what you suggest and report back my results.

        Thanks again

        1 Reply Last reply
        0
        • T Offline
          T Offline
          tucnak
          wrote on last edited by
          #4

          If I were in your shoes I'd download official Qt 5.2 packages from Downloads section on Qt-Project, cuz it has Qt Quick enabled 100%

          1 Reply Last reply
          0
          • M Offline
            M Offline
            mikeyj001
            wrote on last edited by
            #5

            Hi guys,

            I'd forgotten to mention an important factor in my original post. I'm actually building Qt for Tizen, so I'm following this page: http://qt-project.org/wiki/Build-Qt-for-Tizen.

            My problem with QtQuick shows up when building webkit using this page: http://trac.webkit.org/wiki/BuildingQtOnLinux

            So should I try building Qt5 as a standalone install?

            From my Qt5 for Tizen working folder, under desktop/qt5hostinstall/qml, I have these folders:

            Qt QtGraphicalEffects QtQml QtQuick QtQuick.2 QtSensors QtTest

            Under the QtQuick.2 folder is libqtquick2plugin.so. Would this library be what I need to get the build process to recognize the qt quick module? How would I do this?

            Look forward to your suggestions

            1 Reply Last reply
            0
            • M Offline
              M Offline
              marcin100
              wrote on last edited by
              #6

              Hello, I am having a similar problem.
              I bitbaked the image and SDK for Wandboard Dual Light (imx6dl) followed the wiki page (http://wiki.wandboard.org/index.php/Setup_QT_creator_for_developing_QT_apps_on_wandboard) to install the SDK and setup Qt Creator.

              My app compiles and works fine under Ubuntu 14.04, however the cross-compilation fails with this error: "Project ERROR: Unknown module(s) in QT: qml quick"

              I have been searching for few days and only found that this is caused by missing Qt Quick.
              Could someone help me debug it? How do I check if QtQuick is actually missing?

              The local.conf file has qtdeclarative-* listed in IMAGE_INSTALL_append section which I think is the correct way to specify QtQuick, but I am not sure how to verify it did actually compile.

              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