Results 1 to 2 of 2

Thread: Qt Memory size problem ?

  1. #1
    Join Date
    Sep 2008
    Posts
    58
    Thanks
    11
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Post Qt Memory size problem ?

    I have complied Qt for host platform as well as for cross platform.

    when I have tried for Cross platform, I have compiled with ./configure -embedded arm etc........

    I want to know how to reduce the memory size reqired by Qt, Because when i cross complied for arm with minimum configuration options(all demo and example code) size came 110 MB for whole application.

    bin-8.4MB
    lib-48MB
    demos-5.4MB
    example-23MB
    mkspecs-3.3MB
    plugins-2MB
    translations-2.6MB
    -----------------------
    TOTAL- 110MB

    How can i Recude the size required by Qt? what would be the memory reqired for Qt for normal size application ?

    And is it required to modify the souce code ( i mean Qt /src/.. files) to make our application.? or Only need to write code for our application(like in /demo and /example folder)?

    Thank is advance........
    Nirav

  2. #2
    Join Date
    Jan 2006
    Posts
    667
    Thanks
    10
    Thanked 80 Times in 74 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: Qt Memory size problem ?

    For you to write a Qt based application you don't have to modify Qt's source code (Qt/src...). Also, for your application to run on any platform, you really don't need the whole of 110 MB. What you really need is only the Qt library files (only the ones that your application needs. Not all of them) and the executable of your application.

    Hope this helps.

  3. The following user says thank you to munna for this useful post:

    nrabara (2nd October 2008)

Similar Threads

  1. How to solve this cc1plus: out of memory problem?
    By triperzonak in forum Qt Programming
    Replies: 2
    Last Post: 28th September 2008, 20:20
  2. Replies: 0
    Last Post: 26th September 2008, 21:33
  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. Simple Problem with QFont (point size)
    By mtrpoland in forum Newbie
    Replies: 4
    Last Post: 31st December 2007, 16:49
  5. Memory Problem with SIGNALS and SLOTS
    By ^NyAw^ in forum Qt Programming
    Replies: 1
    Last Post: 19th March 2007, 20:39

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.