Results 1 to 3 of 3

Thread: Decrease the size of Application in Mac?

  1. #1
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Question Decrease the size of Application in Mac?

    Hi All,

    I want to decrease the size of my Mac universal Application.
    If I build my application with static Qt 4.3.4 the application size is 26 MB if I use Qt 4.4.3 and used Dynamic Library(Because Phonon can not be used in static Library as I Know) the Application size become 36 MB.

    So Is there is any way so that I can reduce the size of my Mac application either in static or dyanmic build.

    Thanks.
    Vishal

  2. #2
    Join Date
    Jan 2006
    Location
    Germany
    Posts
    4,380
    Thanks
    19
    Thanked 1,005 Times in 913 Posts
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows Symbian S60
    Wiki edits
    5

    Default Re: Decrease the size of Application in Mac?

    Damn, that's big. Short guesses: Have you release mode? How big are your file you include via *.qrc? Maybe exclude them from your exe.

  3. #3
    Join Date
    Dec 2006
    Posts
    211
    Thanks
    27
    Qt products
    Qt4
    Platforms
    MacOS X Windows

    Default Re: Decrease the size of Application in Mac?

    The image size which are in .qrc is 1.3 MB.
    And I am using the release mode to create application.

    I can Imagine the increase in size due to universal binary but if I make
    a small application having only main file still its size is 9.2 MB (and its not universal).

    I am using terminal to create the .app file.
    Last edited by vishal.chauhan; 26th March 2009 at 11:04.

Similar Threads

  1. need to decrease the library size
    By rohan_m_e in forum Qt for Embedded and Mobile
    Replies: 0
    Last Post: 13th November 2008, 04:38
  2. Replies: 1
    Last Post: 4th November 2008, 22:47
  3. Qt application size problem : it is very big
    By mourad in forum Qt Programming
    Replies: 3
    Last Post: 15th May 2008, 16:55
  4. how to reduce the size of qt/e application
    By sar_van81 in forum Qt for Embedded and Mobile
    Replies: 1
    Last Post: 16th August 2007, 15:19
  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.