Problem compiling konqueror3-embedded-0.2-20050428 | SOLVED

Luciano Montanaro mikelima at cirulla.net
Tue Jun 14 10:36:19 CEST 2005


El Martes 14 Junio 2005 08:51, Anes Lihovac escribió:
> Am Montag, 13. Juni 2005 18:28 schrieb Anes Lihovac:
> > Hi
> >
> > I have a problem compiling
> >
> > konqueror3-embedded-0.2-20050428.
> > I also tried konqueror3-embedded-0.2-20050408, both are snapshots from
> > http://www.cirulla.net/kdenox-snapshots/.
> >
> > Compiling is fine IMHO, but then linking it all together in the end,
> > fails.
> > Attached you will find the output.
> > Hope someone can help.
> >
> > Thanks in advance and best regards
> > Anes
>
> Hi
>
> Last night I tried it on a diffrent machine and it just worked.
> The first try was on Fedora Core 3 and the second on Debian Sid.
>
> Now I am wondering how to get the browser a bit smaller.
> Compiled and stripped it was ~4.5 MB .
> Then I used upx to compress it and and get it down to ~1.5MB.
> Not Bad at all, but the qt Lib is a ~7.5 MB Beast.
> Any idea how to compile and link Konq-e with Qt static so in order to
> make the upx compress on both ?!?
>
> Best regards
>

What is your target? 
For reference, on i386, the konqueror binary has 4079608 bytes, and the 
libkonqe.so.0.0.0 has 1481744 bytes.

You may try removing the -export-dynamic flag in the konqueror_LDFLAGS 
konq-embed/src/Makefile.am, it should shrink the binary size, but you'll 
not be able to use external plugins... which is not needed, most of the 
time.

About Qt:
be sure to build it -release -nodebug.
You may also use the flags -disable-opengl -disable-canvas -disable-sql 
-disable-workspace -disable-iconview -disable-table if you do not need 
those part of Qt. 

All in all you should be able to reduce the Qt library size to less than 
4Mb, on i386.


Luciano 




More information about the konq-e mailing list