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

Thiago Macieira thiago at kde.org
Mon Dec 14 19:01:25 CET 2009


Em Segunda-feira 14 Dezembro 2009, às 18:08:47, Nils Jeisecke escreveu:
> 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

That's probably XSL-T support.

> - 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?

XML Schema validation code. It consists of 2 front-end classes, but lots of 
code behind the scenes.

> - QtWebKit has always been a fat one, but what made it grow from 34M to
>    41M?

See above. And WebKit is always upgraded to the trunk version of WebKit 
itself, so that brings some new features in. For example, SquirrelFish and 
SquirrelFish Extreme (the JIT compiler).

> - QtScript is now build with Webkit's JavaScript stuff. Isn't that code
>    shared with QtWebKit?

Not yet, I'm afraid. I'm not sure what the plans are for that. It's the same 
codebase, and in the future we'd like to use QtScript to control and interact 
with JS scripts running on webpages, but I don't know how that's going to 
work.

Probably by QtWebKit linking to QtScript.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20091214/037e4fdb/attachment.bin 


More information about the Qt-interest-old mailing list