[Development] Build Qt 5 in 32-bit with mingw-builds 4.7.2

Oswald Buddenhagen oswald.buddenhagen at digia.com
Fri Oct 12 12:48:30 CEST 2012


On Thu, Oct 11, 2012 at 04:23:43PM -0700, Thiago Macieira wrote:
> On quinta-feira, 11 de outubro de 2012 18.44.39, Stephen Chu wrote:
> > I just installed mingw-build 4.7.2 on Windows 7 64-bit. I then
> > configured Qt 5 this way:
> > 
> > configure -developer-build -opensource -confirm-license -nomake tests
> > -nomake examples -c++11
> > 
> > 
> > The built libraries are in 64-bit. How do I configure Qt 5 to build
> > 32-bit libs?
> 
> There's no option and that is not a bug. The build is what the compiler wants, 
> period.
> 
> If you want a 32-bit build, make sure that the compiler that produces 32-bit 
> code is found first in $PATH.
> 
ehm ... nope. this may apply to msvc, but is definitely not an
acceptable answer for mingw.
the truth is that we simply suck and have no official option for that.
we could add win32-g++-32 like we have for linux ...



More information about the Development mailing list