Results 1 to 6 of 6

Thread: QtWebKit Effect On File Size

  1. #1
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default QtWebKit Effect On File Size

    What is the effect of QtWebKit on file size? For example, what is the size of a "Hello World" exe with and without QtWebKit?

  2. #2
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtWebKit Effect On File Size

    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.

  3. #3
    Join Date
    Aug 2009
    Posts
    44
    Thanks
    29
    Thanked 5 Times in 5 Posts
    Qt products
    Qt4
    Platforms
    MacOS X Unix/X11 Windows

    Default Re: QtWebKit Effect On File Size

    webkit.dll is 8 MB

  4. #4
    Join Date
    May 2007
    Posts
    131
    Thanks
    17
    Thanked 4 Times in 2 Posts

    Default Re: QtWebKit Effect On File Size

    Quote Originally Posted by giowck View Post
    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?

  5. #5
    Join Date
    Mar 2009
    Location
    Brisbane, Australia
    Posts
    7,729
    Thanks
    13
    Thanked 1,610 Times in 1,537 Posts
    Qt products
    Qt4 Qt5
    Platforms
    Unix/X11 Windows
    Wiki edits
    17

    Default Re: QtWebKit Effect On File Size

    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.
    Last edited by ChrisW67; 16th September 2009 at 01:33. Reason: File size clarification

  6. #6
    Join Date
    Mar 2007
    Location
    Germany
    Posts
    229
    Thanks
    2
    Thanked 29 Times in 28 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: QtWebKit Effect On File Size


Similar Threads

  1. Read binary from file
    By weldpua2008 in forum Newbie
    Replies: 2
    Last Post: 3rd April 2009, 23:50
  2. Getting mulitiple size file icons with QFileIconProvider
    By gmat4321 in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2009, 13:41
  3. is it possible to reduce the static exe file size?
    By mismael85 in forum Installation and Deployment
    Replies: 1
    Last Post: 17th April 2008, 00:18
  4. How to get File version size?
    By phillip_Qt in forum Qt Programming
    Replies: 1
    Last Post: 11th October 2007, 06:53
  5. Resource Collection File maximux size
    By Lele in forum Qt Programming
    Replies: 1
    Last Post: 9th August 2006, 10:41

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.