Cross-compiling Qt5.6.3 for armhf: "Project ERROR: Unknown module(s) in QT: quick"
-
Cross-compiling Qt5.6.3 on Ubuntu 22.04 and I have no problem building Qt, then subsequently cross-compiling a trivial "hello world" app. So far,so good.
However, knowing I am about to write an app that needs both quick and websockets modules, I thought I'd verify how to incorporate the quick module into my "hello world" app; that is, even though that app does not need quick, I added it to the "QT" variable in the .pro file to confirm that, if I did that later, the build would at least find it.
It did not:
Building hello-world
.../usr/bin/qmake
Project ERROR: Unknown module(s) in QT: quick
Failed to run 'override-build': Exit code was 3.So what should be an easy question ... what must I do to rebuild Qt so that it can find/supply the quick module? First, is there an additional configure option I need to add (I did not see one immediately related to quick, but I may have just missed it).
Also, I have to assume I need to make sure I populate the target sysroot with the libQt5Quick.so.5.12.8 shared library. Beginner to Qt so I'm sure I'm overlooking something obvious here.
-
Hi,
Which parameters did you pass to configure ?
Are you sure you built all required modules ?
In the absolute, you can manually build them using the qmake built when cross-compiling Qt.