Project ERROR: Unknown module(s) in QT: quick
-
Compile Qt with -opengl desktop. You don't have OpenGL ES 2 on your PC, and rightly so: if desktop OpenGL is available, it's better to use that.
Check out the compilation guide I have provided, it lists all dependencies and how to install them on Ubunutu.
-
Hi Do i need to add some plugin of Qdeclarative5 and QtQuick2 to access its classes.?
-
Classes? In C++? Most of them are private and you can't officially access them. The ones blessed with being public are QQml* classes, and QQuickView, QQuickItem, QQuickPaintedItem.
No plugins are required here. if you compile Qt correctly, it will all be there by default.
-
I tried compiling with -opengl desktop flag but in the end i got this message
"You might need to modify the include and library search paths by editing
QMAKE_INCDIR_OPENGL, QMAKE_LIBDIR_OPENGL and QMAKE_LIBS_OPENGL in
/home/ubuntu/Raghaw/Qt5.1.1/qtbase/mkspecs/linux-arm-gnueabi-g++."What to do with these???
-
This has something to do with cross-compiling. I have somehow assumed you are compiling for the desktop, my bad. I don't know how to help you in this case, sorry.
-
Yeah u r somewhat right ..my plan is to compile Qt5 with linaro toolchain for desktop.Create the Application and then flash it on imx6 board.Is this feasible??
-
Hi,
It's not exactly like that, you cross-compile Qt with the linaro tool chain , then you use that version to compile your application for your target and copy it on. In between you can develop it using the Desktop version on your computer.
You can search through the forum, there have been several posts about cross-compiling Qt 5 for the imx6
-
I think we met the same problem here.
Have you solved this? -
Same problem. Compiled with "angle" (Windows, Mingw32) option. Qtdeclarative (quick1) was compiled but not QtQuick2.
I thought it was not configured by default but there is no "-quick" or "-quick2" option in the "configure" script, nor in the "configure" output.Are the compilation logs stored somewhere ? (took about 4H)
-
I have had the same problem with not having qt creator being able to use declarative, quick, or qml
In my case, its a cross-compile for an imx6 with linaro. build, qt5.2.1base, the script, the declarative make + sudo make install
no issues, things and demos run on the target, and I can compile QT command line apps, but not quick1, or 2I also tried with a buildroot release of 2014.05, and this works and compiles the libs and examples to run on target, yet QTCreator cannot find quick or qml in the pro when included, and will not compile my own applications.
As always I am assuming I have done something stupid from the beginning, perhaps in the configure -prefix area?
If anyone has identified why this happens, I would appreciate some advice
-
Hi and welcome to devnet,
Did you cross-compiled/installed all related modules ?