Results 1 to 9 of 9

Thread: Distributing my app

  1. #1
    Join Date
    Oct 2008
    Posts
    306
    Thanks
    6
    Thanked 9 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Distributing my app

    How can I reduce the size of the DLL's needed for my app to work? Or require less?

  2. #2
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Distributing my app

    1) Recompile them with parts you don't need removed
    2) Compress them

  3. #3
    Join Date
    Oct 2008
    Posts
    306
    Thanks
    6
    Thanked 9 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Distributing my app

    I removed the QtGUI include, using QtCore instead. I seemed to have an issue but it's working now. Thanks for the help. Now it's less that 13mb. (before it was around 200mb...).
    Last edited by been_1990; 21st September 2010 at 11:38.

  4. #4
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Distributing my app

    Debug and non debug. One contains debugging information like function names, parameter names etc... The other doesn't.

  5. #5
    Join Date
    Aug 2009
    Location
    Belgium
    Posts
    310
    Thanks
    10
    Thanked 31 Times in 25 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Distributing my app

    Maybe that's one for the FAQ :

    never include the DLL's that end with 'd' in your distribution. If you need those, it means you have a debug build and not a release build.

    Regards,
    Marc

  6. #6
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,368
    Thanks
    3
    Thanked 5,018 Times in 4,794 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: Distributing my app

    And what would the question be for that one?
    Your biological and technological distinctiveness will be added to our own. Resistance is futile.

    Please ask Qt related questions on the forum and not using private messages or visitor messages.


  7. #7
    Join Date
    Sep 2009
    Location
    UK
    Posts
    2,447
    Thanks
    6
    Thanked 348 Times in 333 Posts
    Qt products
    Qt4
    Platforms
    Windows

    Default Re: Distributing my app

    "My DLLs combined are around 200MB, how can I shrink them down in size?"

    "Use the release versions, not the debug ones. Debug ones end in 'd'."

  8. #8
    Join Date
    Oct 2008
    Posts
    306
    Thanks
    6
    Thanked 9 Times in 8 Posts
    Qt products
    Qt5
    Platforms
    Windows

    Default Re: Distributing my app

    Thanks guys..

  9. #9
    Join Date
    Jan 2006
    Location
    Belgium
    Posts
    1,938
    Thanked 268 Times in 268 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows
    Wiki edits
    20

    Default Re: Distributing my app

    been_1990,

    Can you please not edit your posts completely in the future?
    Now my response looks very out of place.

    Thanks.

Similar Threads

  1. Distributing an application with resources
    By ntp in forum Qt Programming
    Replies: 3
    Last Post: 6th October 2007, 01:46
  2. Distributing multiple Qt applications?
    By gfunk in forum Qt Programming
    Replies: 5
    Last Post: 23rd August 2007, 17:41
  3. Distributing QT application for Mac OS
    By mb0 in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2007, 18:59
  4. Distributing Qt programs
    By scwizard in forum Qt Programming
    Replies: 3
    Last Post: 19th March 2007, 22:36
  5. Distributing apps on a CD
    By munna in forum General Discussion
    Replies: 1
    Last Post: 1st November 2006, 21:45

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
  •  
Qt is a trademark of The Qt Company.