[Qt-interest] Qt 4.5.1 Windows GROWS 4Gb+

Bernd Brandstetter bbrand at kabelmail.de
Wed May 20 17:03:07 CEST 2009


On Wednesday 20 May 2009, Miguel Cardenas wrote:

> I got a new problem compiling Qt 4.5.1 on Windows, it grows and grows
> while compiling until the hard disk is full and 'nmake' aborts because
> 'insuficient disk space', and checking the Qt tree it is 4.6Gb!!!!!!!!!!

Yes, I recently did the same and was astonished that 6GB of free disk space 
weren't enough for a debug-and-release build. The "problem" is that 
MSVC2008 uses some special optimization technique which results in 
terribly large object files especially in release builds. In order to 
change this, you could edit mkspecs/win32-msvc2008/qmake.conf and remove 
the switch -GL from QMAKE_CFLAGS_RELEASE. This brings the object file size 
down to a modest level (and saves quite some time in the linking process - 
linking the WebKit DLL took almost half an hour on my box).

Regards,
Bernd




More information about the Qt-interest-old mailing list