[Qt-interest] Mac OS X Bundle Sizes

Freddie Witherden freddie at witherden.org
Sun Apr 19 12:20:52 CEST 2009


Hi,

I use the macdeployqt tool in order to package my application for OS  
X. However, while the application itself is only 200 KiB or so the  
bundle weighs in at over 30 MiB for a universal binary. By comparison  
the statically-linked Windows build of my application comes in at just  
6.6 MiB.

While I am aware that static linking does allow the linker to remove  
unused code and that a universal build needs two copies (one for PPC  
and one for Intel) of each framework is there any way that I can  
reduce the resulting bundle size?

(I am unsure if it is possible to strip unused symbols from Frameworks  
in much the same way that the linker would when statically linking.)

Regards, Freddie.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 194 bytes
Desc: This is a digitally signed message part
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090419/1c598685/attachment.bin 


More information about the Qt-interest-old mailing list