[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Library dependencies in prl/pc files of Qt4



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi Qt4 maintainers,

I have a concern and a possible request regarding the dependencies listed in the
prl files. According to [1], any object should only be linked against those
libraries from which it actually uses symbols. However, in all pkg-config or
other files for Qt4, *all* libraries are listed, dragging in a lot of actually
unneeded dependencies. In my case (PyQt4), the only dependencies needed are the
various libqt4-* packages, but neither freetype nor any X library. I've modified
the build system of PyQt4 to get rid of this problem, but a recent bug [2]
introduced a bigger problem. The QtAssistantClient library is static and thus
needs QtCore (and maybe others) when linked. Still, the prl-file contains all
libraries (freetype, fontconfig etc) which are needed by QtCore. I could modify
the build system a bit more, but I'm already quite uncomfortable with my changes.

I wanted to discuss this issue with you to find a good solution for everybody.

best,

Torsten

[1] http://lists.debian.org/debian-devel-announce/2005/11/msg00016.html
[2] http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=385818

Please CC me, I'm not subscribed! TIA
- --
Torsten Marek <shlomme@gmx.net>
ID: A244C858 -- FP: 1902 0002 5DFC 856B F146  894C 7CC5 451E A244 C858
Keyserver: subkeys.pgp.net

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFE+uBGfMVFHqJEyFgRAjwxAJ92ipCnFgwE3lvWFyS1LXxXyl8hGACgt7rw
N4oAi3mXAJJv4nhwTHxabU4=
=ZpGM
-----END PGP SIGNATURE-----



Reply to: