Qt-embedded-interest Archive, December 2006
Minimize size of qt-embedded libraries.
Message 1 in thread
Good morning everybody,
I cross compiled qt-embedded-3.3.7 for cris arch. I observed that size of
qt-embedded libraries are too large. e.g. libqte.so.3.3.7 is 7.7 MB.
As on cris board, there is no space to put this library. Is it possible to
minimize size of this library??
Thanks and Reagrds,
Niranjan.
To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx
Message 2 in thread
On Friday 01 December 2006 05:20, niranjank@xxxxxxxxxxxx wrote:
> Good morning everybody,
> I cross compiled qt-embedded-3.3.7 for cris arch. I observed that size of
> qt-embedded libraries are too large. e.g. libqte.so.3.3.7 is 7.7 MB.
>
> As on cris board, there is no space to put this library. Is it possible to
> minimize size of this library??
Yes, it's possible to remove some of the functionality from the Qt library.
Take a look at http://doc.trolltech.com/3.3/emb-features.html.
--
[ signature omitted ]
Message 3 in thread
hi,
It seems that there is no such file qconfig.h in src/tools. Following are
the files in src/tools...
qconfig-small.h
qconfig-medium.h
qconfig-large.h
qconfig-minimal.h
qconfig-dist.h
So, which file is needed to edit to mimimize the size of qt-embedded
libraries.
Thanks and Regards,
Niranjan.
> On Friday 01 December 2006 05:20, niranjank@xxxxxxxxxxxx wrote:
>> Good morning everybody,
>> I cross compiled qt-embedded-3.3.7 for cris arch. I observed that size
>> of
>> qt-embedded libraries are too large. e.g. libqte.so.3.3.7 is 7.7 MB.
>>
>> As on cris board, there is no space to put this library. Is it possible
>> to
>> minimize size of this library??
>
> Yes, it's possible to remove some of the functionality from the Qt
> library.
> Take a look at http://doc.trolltech.com/3.3/emb-features.html.
>
> --
> hw
>
> To unsubscribe - send "unsubscribe" in the subject to
> qt-embedded-interest-request@xxxxxxxxxxxxx
>
>
To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx
Message 4 in thread
On Friday 01 December 2006 11:25, niranjank@xxxxxxxxxxxx wrote:
> hi,
>
> It seems that there is no such file qconfig.h in src/tools. Following are
> the files in src/tools...
>
> qconfig-small.h
> qconfig-medium.h
> qconfig-large.h
> qconfig-minimal.h
> qconfig-dist.h
>
> So, which file is needed to edit to mimimize the size of qt-embedded
> libraries.
The qconfig-small/medium/large/minimal are examples. Copy one of them to
qconfig-local.h and edit it to fit your requirements.
--
[ signature omitted ]
Message 5 in thread
hi,
I have simple qt-embedded application with one form only. I copied
qconfig-minimal.h as qconfig-local.h and compiled qt-embedded as
./configure -qconfig local
and make
now library size is only 2 MB that's fine.
But now when i run this simple qt-embedded application like..
./form -qws
it says,
/root/form: relocation error: /root/form: undefined symbol:
_ZN18QMimeSourceFactoryC2Ev
So can u tell me which feature is needed to enable/disable in config file.
Thanks and Regards,
Niranjan.
> On Friday 01 December 2006 11:25, niranjank@xxxxxxxxxxxx wrote:
>> hi,
>>
>> It seems that there is no such file qconfig.h in src/tools. Following
>> are
>> the files in src/tools...
>>
>> qconfig-small.h
>> qconfig-medium.h
>> qconfig-large.h
>> qconfig-minimal.h
>> qconfig-dist.h
>>
>> So, which file is needed to edit to mimimize the size of qt-embedded
>> libraries.
>
> The qconfig-small/medium/large/minimal are examples. Copy one of them to
> qconfig-local.h and edit it to fit your requirements.
>
> --
> hw
>
> To unsubscribe - send "unsubscribe" in the subject to
> qt-embedded-interest-request@xxxxxxxxxxxxx
>
>
To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx
Message 6 in thread
You have to figure out exactly which features you want enabled and
which disabled.
I found that qconfig-minimal only supports enough features to do an
hello world and not much else.
It's better to first develop your app with all features enabled and then
cut back the features during an optimization phase.
Just my $0.02
Ben
> -----Original Message-----
> From: niranjank@xxxxxxxxxxxx [mailto:niranjank@xxxxxxxxxxxx]
> Sent: Wednesday, December 06, 2006 1:40 PM
> To: qt-embedded-interest@xxxxxxxxxxxxx
> Subject: Re: Minimize size of qt-embedded libraries.
>
> hi,
>
> I have simple qt-embedded application with one form only. I
> copied qconfig-minimal.h as qconfig-local.h and compiled
> qt-embedded as ./configure -qconfig local and make
>
> now library size is only 2 MB that's fine.
>
> But now when i run this simple qt-embedded application like..
>
>
> ./form -qws
>
> it says,
>
> /root/form: relocation error: /root/form: undefined symbol:
> _ZN18QMimeSourceFactoryC2Ev
>
>
> So can u tell me which feature is needed to enable/disable in
> config file.
>
> Thanks and Regards,
> Niranjan.
>
> > On Friday 01 December 2006 11:25, niranjank@xxxxxxxxxxxx wrote:
> >> hi,
> >>
> >> It seems that there is no such file qconfig.h in
> src/tools. Following
> >> are the files in src/tools...
> >>
> >> qconfig-small.h
> >> qconfig-medium.h
> >> qconfig-large.h
> >> qconfig-minimal.h
> >> qconfig-dist.h
> >>
> >> So, which file is needed to edit to mimimize the size of
> qt-embedded
> >> libraries.
> >
> > The qconfig-small/medium/large/minimal are examples. Copy
> one of them
> > to qconfig-local.h and edit it to fit your requirements.
> >
> > --
> > hw
> >
> > To unsubscribe - send "unsubscribe" in the subject to
> > qt-embedded-interest-request@xxxxxxxxxxxxx
> >
> >
>
> To unsubscribe - send "unsubscribe" in the subject to
> qt-embedded-interest-request@xxxxxxxxxxxxx
>
>
To unsubscribe - send "unsubscribe" in the subject to qt-embedded-interest-request@xxxxxxxxxxxxx