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

Constantin Makshin dinosaur-rus at users.sourceforge.net
Mon May 25 13:30:15 CEST 2009


On Mon, 25 May 2009 04:34:17 +0400, <wim.delvaux at adaptiveplanet.com> wrote:
> On Monday 25 May 2009 02:29:34 Raul Metsma wrote:
>> The end user does not see the increase. Final result might event
>> decrease when the compiler can optimize the final binary.
>> Its about 10-15% speed increase for your users.
>> If you are not willing sacrifice this disk space you can always turn off
>> the flags.
>
> Well if you install a package of 700 MB on a netbook with 4GB SSD you  
> might
> not have any disk space to sacrifice.
You don't need all files to compile code that uses Qt, so you can safely  
delete redundant files after Qt is built. The final result for 3 versions  
(32-bit, 64-bit Windows and Windows Mobile) of Qt laying in the same  
top-level directory is 203.5 MB. Not too much I think.

Currently my Qt "installation" directory has this structure:
bin -- 32-bit Windows DLLs
bin64 -- tools and 64-bit Windows DLLs
binwm -- Windows Mobile DLLs
doc (.qch files only)
include
lib -- 32-bit Windows import libraries
lib64 -- 64-bit Windows import libraries
libwm -- Windows Mobile import libraries
mkspecs (unused specs removed)
plugins -- 32-bit Windows plug-ins
plugins64 -- 64-bit Windows plug-ins
pluginswm -- Windows Mobile plug-ins
src
tools
translations (.qm files only)
changes-4.5.1
LGPL_EXCEPTION.txt
LICENSE.GPL3
LICENSE.LGPL
README

To remove most of redundant files I use this batch file ("find" utility is  
 from GnuWin32 project -- http://gnuwin32.sourceforge.net):
@echo off
find ^( -type f -and ^( -name "*.pro" -or -name "*.pri" -or -name  
"*.dynlist" -or -name "*.ts" -or -name "*.sh" ^) ^) -delete
find src tools ^( -type f -and -not -name "*.h" ^) -delete
find ^( -type d -and -empty ^) -delete

And yes, "source" and "installations" directories are different, but I use  
semi-automated compilation procedure which helps to reduce inconveniences  
to a minimum.

-- 
Constantin "Dinosaur" Makshin



More information about the Qt-interest-old mailing list