C++ – Project ERROR: Unknown module(s) in QT: qml quick

ccross-compilinglinuxqtwindows

I've got problems trying to cross-compile an app for windows on Linux Mint x64 following this. (I also got Qt5.4.2 installed.)

Building Qt 5 on Linux, for Windows

The error shows up when running [mxe root]/usr/bin/i686-w64-mingw32.static-qmake-qt5 . Of course I changed [mxe root] to fit the mxe directory.

Any ideas?

My question is pretty similar to this one. Project ERROR: Unknown module(s) in QT: webkitwidgets

It'd be nice not to mark it as duplicate, as was done with that question, because, like @Petr already mentioned in the comments there, the two questions are not related.

Best Answer

I've been having the same issue, following the same tuto

I solve it by building qt5 instead of qtbase

mxefolder$ make qt5

instead of

mxefolder$ make qtbase

it contains more modules

Related Topic