PDA

View Full Version : QtWebKit Effect On File Size



bmn
14th September 2009, 17:04
What is the effect of QtWebKit on file size? For example, what is the size of a "Hello World" exe with and without QtWebKit?

Boron
14th September 2009, 17:25
If linked dynamically to the Qt lib the exe should increase just some bytes (1 KB or less, who cares).
If linked statically, well, everything that you use will be included in the exe. I can only guess that this may be some MB.

giowck
14th September 2009, 18:31
webkit.dll is 8 MB

bmn
15th September 2009, 21:42
webkit.dll is 8 MB

Does that mean, if I want to use QtWebKit in my application, I need to have an 8-meg DLL file (webkit.dll) in the package that I distribute?

ChrisW67
16th September 2009, 00:03
Yes, and QtWebKit is more like 19 MB on Windows*.

I have an app that requires only the Core/GUI, SQL, SVG libraries (and a handful of plugins) for its primary function but, because I used Assistant to serve the help I needed to bundle:

22/06/2009 11:30 PM 1,061,888 QtCLucene4.dll
22/06/2009 11:30 PM 637,952 QtHelp4.dll
22/06/2009 10:42 PM 1,380,352 QtNetwork4.dll
22/06/2009 11:17 PM 19,530,240 QtWebKit4.dll
22/06/2009 10:42 PM 504,832 QtXml4.dll


as well. WebKit is approximately half the deployment size in my case. Thankfully these files compress well.

* This is the Qt SDK 2009.03 size, built with MingW32. Built with the Windows SDK compiler it is, as other posts have implied, about 8 MB.

Boron
16th September 2009, 17:00
If size does matter: http://www.qtcentre.org/forum/f-installation-and-deployment-5/t-deployment-size-issues-please-help-23319.html