Results 1 to 4 of 4

Thread: Qt application size problem : it is very big

  1. #1
    Join Date
    Mar 2008
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Qt application size problem : it is very big

    Hi everyone, I've a 4.3 Qt application developped under Windows. I've ported it to Mac OS and it works fine, but I've an interrogation about the size of the executable whitch is 120 Mo . I don't know really why it is toooo big. I use many frameworks but it is the cause ? Does anyone have an idea about this and can tell me how to do to mimimize the size especially I must to put the exécutable to download by clients.
    Best regards.

  2. #2
    Join Date
    Oct 2006
    Location
    New Delhi, India
    Posts
    2,467
    Thanks
    8
    Thanked 334 Times in 317 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt application size problem : it is very big

    Did u build in debug mode ??
    try compiling in release mode and see the size

  3. #3
    Join Date
    Mar 2008
    Posts
    55
    Thanks
    2
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Qt application size problem : it is very big

    I forgot to indicate that, but I've compiled it in release mode and I've obtainted this size.

  4. #4
    Join Date
    Jan 2006
    Location
    Lincoln, NE USA
    Posts
    177
    Thanks
    3
    Thanked 7 Times in 6 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt application size problem : it is very big

    Quote Originally Posted by mourad View Post
    I forgot to indicate that, but I've compiled it in release mode and I've obtainted this size.
    Static or Dynamic?

    It sounds like you've inadvertantly compiled a large txt or binary file into your project. A coworker did that once by compiling a 52MB text file into an app whose executable was 545Kb.

Similar Threads

  1. i have a problem in a very small application?
    By coder1985 in forum Qt Programming
    Replies: 3
    Last Post: 22nd November 2007, 17:09
  2. Replies: 7
    Last Post: 28th June 2007, 17:18
  3. Replies: 5
    Last Post: 15th June 2007, 22:08
  4. Application deployment problem
    By shapirlex in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 13th April 2007, 00:11
  5. How to know the size of the application
    By Sarma in forum Qt Programming
    Replies: 2
    Last Post: 7th March 2006, 11:02

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.