[Qt-interest] Deploying on Mac -- bundle size is huge?
Paul Miller
paul at fxtech.com
Mon Sep 27 21:44:43 CEST 2010
On 9/27/2010 1:41 PM, Deepak Chandran wrote:
> Hello,
>
> I followed the instructions for deploying Mac applications by copying
> the Qt framework inside the bundle. I find that this blows up the size
> of the application by around +500MB. I realize that there is a way to
> copy just the dylib files, but when use otool -L MyApp, the list only
> contains references to Qt frameworks (e.g.
> QtGui.framework/Versions/4/QtGui). I don't see any references to dylib
> files. What do I need to do so that the application references dylib
> files instead of the whole framework?
Make sure you're not linking with the debug+release versions of the
frameworks. Also, you can remove the entire Headers sub-trees from
inside your embedded Frameworks.
More information about the Qt-interest-old
mailing list