Qt + Libraries

Matthias Hoelzer-Kluepfel mhk at caldera.de
Wed Jun 13 09:34:44 UTC 2001

On Wednesday 13 June 2001 11:33, Manfred Rebentisch wrote:
> Hello,
> a small Qt-Program needs the following libraries ( ldd ecalc ):

This is a bit off-topic here, but some hints I can give:

> 	libqt.so.2 => /usr/lib/libqt.so.2 (0x40027000)
> 	libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x404d9000)
> 	libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x404e7000)
> 	libstdc++-libc6.2-2.so.3 => /usr/lib/libstdc++-libc6.2-2.so.3 (0x405ca000)
> 	libm.so.6 => /lib/libm.so.6 (0x40613000)
> 	libc.so.6 => /lib/libc.so.6 (0x40632000)

These are essential, no way around it.

> 	libGLU.so.1 => /usr/lib/libGLU.so.1 (0x4074f000)
> 	libGL.so.1 => /usr/lib/libGL.so.1 (0x407d3000)

If you configure Qt with --no-opengl, these aren't needed. You will loose 
OpenGL support, then, of course.

> 	libXmu.so.6 => /usr/X11R6/lib/libXmu.so.6 (0x40a2a000)
> 	libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40a41000)
> 	libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x40a4b000)
> 	libXft.so.1 => /usr/X11R6/lib/libXft.so.1 (0x40a63000)
> 	libpng.so.2 => /usr/lib/libpng.so.2 (0x40ab8000)
> 	libz.so.1 => /lib/libz.so.1 (0x40aea000)

> 	libjpeg.so.62 => /usr/lib/libjpeg.so.62 (0x40af9000)
> 	libmng.so.1 => /usr/lib/libmng.so.1 (0x40b18000)

IIRC, you can configure Qt to not use the system libjpeg, but a build in one. 
I wouldn't recommend to do so. I guess it depends on _why_ you want to link 
to less libraries.

> 	/lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)
> 	libXi.so.6 => /usr/X11R6/lib/libXi.so.6 (0x40b58000)
> 	libXt.so.6 => /usr/X11R6/lib/libXt.so.6 (0x40b61000)
> 	libXrender.so.1 => /usr/X11R6/lib/libXrender.so.1 (0x40baf000)
> 	liblcms.so.1 => /usr/lib/liblcms.so.1 (0x40bb4000)
> Is that normal or can I reduce the list?

Yes, it is normal, and yes, the list can be reduced. The essential question 
is, _why_? To save space? To reduce startup time? For cosmetic reasons?

Ah, btw, I guess qt-interest at trolltech.com would be the right forum for this 


to unsubscribe from this list send an email to kdevelop-devel-request at kdevelop.org with the following body:
unsubscribe »your-email-address«

More information about the KDevelop-devel mailing list