Qt static libraries - pkgconfig again

Simon Hausmann simon.hausmann at trolltech.com
Fri Feb 23 11:15:35 CET 2007


On Friday 23 February 2007 06:32:03 Christian Ehrlicher wrote:
> Thiago Macieira schrieb:
> > Qt has one static library that we use in KDE code: QtUiTools. Whichever
> > reason the Trolls had to make it static is besides the point: it is
> > static.
> >
> > That means we must fetch its dependency info from the Qt installation
> > into CMake. And Qt provides only one official way of doing that: via
> > pkg-config.
> >
> > So, I ask again: can we start supporting discovery of Qt via pkg-config
> > by default on all systems? If that doesn't work, we'd have a fallback to
> > the current discovery via qmake.
>
> pkg-config on win32 is a bad idea... :(

Christian is right there, also because qmake does not generate pkg-config 
files on Windows.

I think for now we should either do what David suggests and just hardcode it 
for 4.3 or maybe use pkg-config on !windows and hardcode it only on Windows.


Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-buildsystem/attachments/20070223/ade2e9e5/attachment.pgp 


More information about the Kde-buildsystem mailing list