[Qt-interest] Cross-compiling Win32 applications on Mac OS X

Mark Brand mabrand at mabrand.nl
Wed Mar 2 08:49:42 CET 2011


Hi,

On 03/01/2011 03:39 PM, Stefan Schmidt wrote:
> Hi,
> I have been working on a solution to cross-compile win32 applications on Snow Leopard. After several compiles and testing, I could finally create a MinGW cross-compiler (GCC 4.5.2) as well as compile Qt 4.7.2 using this compiler.

Just thought I should point out that Qt already comes with a makespec 
for cross compiling for mingw on unix (including osx). You can specify 
this to the configure script as "-xplatform 
unsupported/win32-g++-cross". Use the "-prefix" option to give the 
prefix for your cross building toolchain.

Mingw-cross-env builds Qt using "unsupported/win32-g++-cross".

Mark



More information about the Qt-interest-old mailing list