PDA

View Full Version : Qt Memory size problem ?



nrabara
29th September 2008, 11:51
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

munna
29th September 2008, 15:27
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.