Cross-Compiling modules in Yocto on IMX6
-
Hello,
I am currently trying to cross compile a Qt-module (qtcharts in particular) on a virtual machine running Ubuntu 16.04. This VM is used to cross-compile an deploy QT-Projects on an IMX6-Board running a Yocto-BSP.
The entire toolchain for the cross-compiler is existent, as well as a (for the most part) functioning qmake version. Running "qmake -v" tells me, it runs qmake 3.1 and a Qt 5.9.6 version. I can cross-compile, deploy and run basic programs. The Qt installation however, doesn't include many libraries, which is why I need to add them.
I downloaded several QtCharts versions (every one <= 5.9.6) and tried to cross compile them using the qmake command. This gives me the error "'addExclusiveBuilds' is not a recognized test function". Running make nonetheless, outputs several more errors, including "some of the required modules (qtHaveModule(widgets)) are not available".
How can I install/cross-compile these modules for my build?
Simply copying the module folders, which were compiled on the Ubuntu host, gives another error and won't work.