[Development] Cross compiling Qt for windows using ming32 on Linux

Mandeep Sandhu mandeepsandhu.chd at gmail.com
Fri Feb 7 13:28:49 CET 2014


Is it possible to cross-compile a Windows build from within Linux using the
mingw32 toolchain.

I configure it as follows:

../../qt5/qtbase/configure -v -developer-build -opensource -confirm-license
-release -xplatform win32-g++ -device-option
CROSS_COMPILE=i586-mingw32msvc- -no-gui

It fails with the message "Unable to determine architecture!"

Do I need to give the "-platform" switch as well, or is this toolchain not
supported at all?

I was trying to avoid building Qt from within Windows as it's very slow.

Thanks,
-mandeep
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20140207/fa54fbcb/attachment.html>


More information about the Development mailing list