[Interest] Compile Qt for windows 32-bit using mingw-w64

Koehne Kai Kai.Koehne at digia.com
Mon Mar 25 13:58:38 CET 2013


Hi,

adding -m32 should work, but I haven't tested it since a while. The 'official' and bullet-proof method is to just install a native 32 bit toolchain (mingw-w64 based compilers usually can be downloaded as 32 bit or 64 bit).

Regards

Kai

________________________________________
From: interest-bounces+kai.koehne=digia.com at qt-project.org [interest-bounces+kai.koehne=digia.com at qt-project.org] on behalf of Etienne Sandré-Chardonnal [etienne.sandre at m4x.org]
Sent: 25 March 2013 13:49
To: interest at qt-project.org
Subject: [Interest] Compile Qt for windows 32-bit using mingw-w64

Dear all,

I am still using the old mingw 32-bit shipped with Qt for my 32 bit
builds, and mingw-w64 for 64-bit. In order to harmonize everything and
to switch to c++11, I'd like to recompile Qt for 32 bit platforms with
the new compiler.

Do I simply need to add -m32 to the compiler and linker flags of
qmake.conf in mkspecs? Or is that more complicated?

Thanks,

Etienne
_______________________________________________
Interest mailing list
Interest at qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list