--===============0912981841== Content-Type: multipart/signed; boundary="nextPart2301514.3nE6eVtJP5"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit --nextPart2301514.3nE6eVtJP5 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Monday 10 April 2006 12:58 pm, Thiago Macieira wrote: > Ian Reinhart Geiser wrote: > >I am looking into this now. =C2=A0Currently we are playing with pkgconf = to do > > this, but this is pretty unreliable if you have multiple KDE's > > installed. kde-config will provide the include directory and the lib > > directory for the KDE install in the path, but not the cflags and such. > > =C2=A0The big problem I see right now is that I really don't want to ha= ve > > redundant data for both. =C2=A0Maybe provide a pkg-config proxy inside = of > > kde-config? > > I suggest this: > - make kde-config aware of the pkgconfig installation directory > (basically, ${libdir}/pkgconfig) > - use pkg-config to find compile-time data > > So, you'd do: > PKG_CONFIG_PATH=3D`kde-config --expandvars --install pkgconfig` \ > pkg-config --libs --cflags kdecore > > But I didn't understand how you're having problems with pkg-config and > multiple KDE installations. Can you elaborate? Basicly I am using QMake here. I have KDE4 and KDE3 installed. I would l= ike=20 to have a .pri file that I can include and then be able to build 3rd party= =20 KDE applications. I actually think your suggestion to make kde-config awar= e=20 of pkg-config installations would be the best fix. This will become more=20 important as KDE 4 becomes released because developers may wish to develop= =20 against the released KDE 4 and a svn snapshot. With kde-config knowing=20 Since on the off chance you want to develop against older versions of KDE (= a=20 MUST for 3rd party development) you will where the pc files reside, it wou= ld=20 be trivial to switch between the two. The only reason I would think a proxy for pc would be marginally better wou= ld=20 be simplicity for the user (since pc support in autocrap afaik needs help=20 when you want to do nonstandard things). I am pretty sure though the cost= =20 for the gain is not worth it. Cheers -ian reinhart geiser --nextPart2301514.3nE6eVtJP5 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.5 (GNU/Linux) iD8DBQBEOpEQPy62TRm8dvgRAjuIAKDUvXHUGdpn3uw7dTZTPnix0ubXVQCeLKyN 1OKhCxsuwpclCYkHhKkcWT0= =9fl+ -----END PGP SIGNATURE----- --nextPart2301514.3nE6eVtJP5-- --===============0912981841== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe << --===============0912981841==--