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