[Qt-interest] Library Dependencies on Solaris

Thiago Macieira thiago at kde.org
Wed Sep 8 00:06:20 CEST 2010


On Tuesday 7. September 2010 23.29.15 Jake Colman wrote:
>    TM> Ah, right. I didn't notice that it's only from QWS (Embedded
>    TM> Linux), not the X11 port.
> 
>    TM> For X11, Qt uses freetype if you have it.
> 
> But why does it insist on using freetype from /usr/sfw even if I
> configure with "-no-fontconfig -no-freetype qt-freetype"?  That sounds
> like a bug, not a feature.

Like I said, -no-freetype and -qt-freetype are only QWS options. Therefore, 
they don't apply to you.

-no-fontconfig does apply to you, but it's pointless to try to build like that. 
You want fontconfig.

And, like I said, we do not test those options.

>    TM> Which proves it's an indirect dependency. There's nothing in
>    TM> QtGui that links to libiconv, but there is in QtCore. So it must
>    TM> be coming from a library that QtGui does link to.
> 
> I would have thought so too but here is the ldd from libQtCore:
> 
> libpthread.so.1 =>	 /lib/libpthread.so.1
> librt.so.1 =>	 /lib/librt.so.1
> libm.so.2 =>	 /lib/libm.so.2
> libdl.so.1 =>	 /lib/libdl.so.1
> libaio.so.1 =>	 /lib/libaio.so.1
> libmd.so.1 =>	 /lib/libmd.so.1
> libc.so.1 =>	 /lib/libc.so.1
> /platform/SUNW,Sun-Fire-V440/lib/libmd_psr.so.1
> /platform/SUNW,Sun-Fire-V440/lib/libc_psr.so.1
> 
> It cannot be that one of these files in /lib or /platform is pulling in
> libiconv!

No. It's one of those in libQtGui that aren't in libQtCore. Probably glib.

-- 
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
  Senior Product Manager - Nokia, Qt Development Frameworks
      PGP/GPG: 0x6EF45358; fingerprint:
      E067 918B B660 DBD1 105C  966C 33F5 F005 6EF4 5358
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 190 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100908/9115a889/attachment.bin 


More information about the Qt-interest-old mailing list