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

Alexis Ménard alexis.menard at trolltech.com
Wed May 20 16:00:42 CEST 2009


On Wednesday 20 May 2009 15:43:13 Miguel Cardenas wrote:
> Hello
>

Hello,

> 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!!!!!!!!!!
>
> Since I don't use windows too much (my base is Linux) the 80Gb disk was
> used for Linux and the 40Gb disk was left for Windows.
>
> My windows disk is partitioned as hda1(boot):10Gb and hda2(data):30Gb. I've
> deleted almost all from my windows, so only the operating system remains,
> applications and everything was removed except VC++ 2008 and the Qt
> sources, leaving about 5Gb free in the windows partition, but it appears it
> is not enough since during compilation the Qt tree grows over 4.6Gb and
> compilation aborts when 145Mb are left on disk.
>
> My questions are two in particular...
>
> 1) Do REALLY Qt 4.5.1 for Windows may grow to MANY GIGAS??? In Linux it
> grows up to 800Mb WITH ALL SELECTED!

When you compile in the directory there are object files :D so it takes hard 
drive space. We can't do anything about that.

Please do not use capital letters. We understand without them.

>
> 2) Can I compile in the data partition D:\Qt-...4.5.1 using "-prefix
> C:\Qt-...4.5.1" ??? probably the final installation will be shorter than
> the compiled source tree??? but don't know if it is possible to compile in
> one drive and install to another different?

The installation will contain only what you need to use Qt but it won't solve 
your problem, at some point Qt files need to be compiled in object files and 
you need space for that.

>
> NOTE: I selected everything to compile, but only the "-release" version,
> and anyway it grows without measure...

At least you don't have debug symbols.

The solution, ask Microsoft to a less fat Windows/VS2008 or allocate more 
space on your partition.

>
> Thanks for your help!

-- 

Alexis Ménard
Software Engineer, Widgets Team 1
Qt Software, Nokia Norge AS, Sandakerveien 116, 0484 Oslo, Norway




More information about the Qt-interest-old mailing list