PDA

View Full Version : Building Qt for 64 bit windows.



chris_helloworld
11th May 2011, 11:03
Hi all,

I've tried building Qt, (4.7.2), on 64 bit windows mingw-w64 using the latest, (mingw-w64-bin_i686-mingw_20110507), and it proceeds nicely until it gets to compiling the QtGui4 dll, (either the release or debug version). Both fail as ld is coming up with memory exhausted.

I gather that there are issues with ld working with big / lots of files.

Has anyone encountered this or know of a work around. (I'm currently trying a different mingw-64 tool chain which has 64 bit executables mingw-w64-bin_x86_64-mingw_20110505_sezero).

chris_helloworld
16th May 2011, 08:12
The mingw-w64-bin_x86_64-mingw_20110505_sezero worked !
(I did also encounter some memory issue with minggw32-make, so I downloaded and built make using the 64 bit toolchain).

The result is I now have 64 bit Qt running on Windows. Hope this info helps anyone else going down the same path, (by the way, if you do this - allow LOADS of time for it to build, especially if you're going to compile all the demos and examples too).

Chris.