PDA

View Full Version : Decrease the size of Application in Mac?



vishal.chauhan
26th March 2009, 04:15
Hi All,

I want to decrease the size of my Mac universal Application.
If I build my application with static Qt 4.3.4 the application size is 26 MB if I use Qt 4.4.3 and used Dynamic Library(Because Phonon can not be used in static Library as I Know) the Application size become 36 MB.

So Is there is any way so that I can reduce the size of my Mac application either in static or dyanmic build.

Thanks.
Vishal

Lykurg
26th March 2009, 10:24
Damn, that's big. Short guesses: Have you release mode? How big are your file you include via *.qrc? Maybe exclude them from your exe.

vishal.chauhan
26th March 2009, 10:54
The image size which are in .qrc is 1.3 MB.
And I am using the release mode to create application.

I can Imagine the increase in size due to universal binary but if I make
a small application having only main file still its size is 9.2 MB (and its not universal).

I am using terminal to create the .app file.