Results 1 to 2 of 2

Thread: is it possible to reduce the static exe file size?

  1. #1
    Join Date
    Feb 2008
    Posts
    154
    Thanks
    12
    Qt products
    Qt4
    Platforms
    Windows

    Question is it possible to reduce the static exe file size?

    hi,
    i built my program as static ,
    it is a simple dialog and the file size was 5.5 m it is too big for such a program.
    can i reduce the file size ?
    note i does not mean any compressor but i mean a way in Qt.
    i want it to be in kelos.

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

    Default Re: is it possible to reduce the static exe file size?

    First of all make sure you don't have Qt built in debug mode. Then make sure you pass some options to configure that disable things you don't need (for instance -no-stl, -no-exceptions, etc.). And third of all - search the forum for similar issues.

    Oh, and you can use a compressor such as upx - it turns executable files into... smaller executable files.

Similar Threads

  1. Replies: 16
    Last Post: 23rd May 2008, 10:12
  2. Set up the Qt4.3.2 with Visual Studio 2005
    By lamoda in forum Installation and Deployment
    Replies: 6
    Last Post: 30th January 2008, 06:51
  3. qt-3.3.8 fail in scratchbox
    By nass in forum Installation and Deployment
    Replies: 0
    Last Post: 25th May 2007, 15:21
  4. QString static callback function from CURL
    By tpf80 in forum Qt Programming
    Replies: 12
    Last Post: 16th May 2007, 20:47
  5. Reduce the size of Qt-compiled software
    By ct in forum Qt Programming
    Replies: 7
    Last Post: 2nd May 2007, 14:05

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.