[Interest] Qt5 Cross Compiling on Linux For Windows
Mark Brand
mabrand at mabrand.nl
Thu Mar 6 23:14:23 CET 2014
On 03/06/2014 10:40 PM, Jonathan Greig wrote:
> Is there a recommended or proper way for cross-compiling on Linux for
> Windows in Qt5 that doesn't involve building Qt5 from source? The
> unsupported/win32-g++-cross mkspec is now removed in Qt5 and I'd like
> to setup a cross compiler under Travis-CI.
>
That mkspec was removed because it was subsumed by the main win32-g++
mkspec.
As far as I know, there is no "official" way of cross compiling. But MXE
(http://mxe.cc/) provides a complete cross-building environment.
Historically it has been focused on building static libraries. Recently
support for shared libraries was added on the master branch. A lot of
the cross building features found in the Qt build system were were
proposed on behalf of MXE.
Mark
More information about the Interest
mailing list