[Qt-interest] Qt 4.6 vs. 4.5 Framework Sizes (Mac OS X)

Nils Jeisecke jeisecke at saltation.de
Mon Dec 14 18:08:47 CET 2009


Hi!

I've an application that uses nearly all of Qt's modules.

When upgrading to 4.6 I've noticed a significant increase of the 
Framework sizes:

Qt 4.6  4.5
    5,2M 4,5M   QtCore.framework/Versions/4/QtCore
     22M  20M   QtGui.framework/Versions/4/QtGui
    2,4M 2,3M   QtNetwork.framework/Versions/4/QtNetwork
    4,6M 2,6M   QtScript.framework/Versions/4/QtScript
    539K 517K   QtSql.framework/Versions/4/QtSql
     41M  34M   QtWebKit.framework/Versions/4/QtWebKit
     13M   9M   QtXmlPatterns.framework/Versions/4/QtXmlPatterns

No problems with Core, Gui, Network and Sql. But:

- QtWebKit seems to have dependencies on QtXmlPatterns now (I'm using
   macdeployqt, so I guess this tools knows what's needed). But
- QtXmlPatterns has grown from 9,1 MB to 13M. The changelog only states
   a minor extension. So what's the 4MB of new Code doing?
- QtWebKit has always been a fat one, but what made it grow from 34M to
   41M?
- QtScript is now build with Webkit's JavaScript stuff. Isn't that code
   shared with QtWebKit?

Both releases were build using the same g++ (4.0).

Thanks for any explanations!

Nils




More information about the Qt-interest-old mailing list