[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: RFC: pkg-config for KDE
From:       Antonio Larrosa =?utf-8?q?Jim=C3=A9nez?= <larrosa () kde ! org>
Date:       2004-10-02 19:06:34
Message-ID: 200410022106.39210.larrosa () kde ! org
[Download RAW message or body]


El Wednesday 29 September 2004 19:27, Ian Reinhart Geiser escribió:
> Example:
>   g++ someapp.cpp `pkg-config --cflags --libs kdeui`
> vs
>   g++ someapp.cpp -I/some/hardcoded/path -L/some/other/hardcoded/path
> -libkdeui -lkdecore
>


How would that handle configurations where people have different library 
versions in different prefixes? Currently there's a kde-config, and you can 
have different kde-config binaries in different prefixes to choose which one 
to use. Would we use a different directory to be included in 
$PKG_CONFIG_PATH for each KDE/Qt installation ?

Just in case I've not been clear enough. Currently, I have:
antonio@tazend:~> pkg-config --libs qt-mt
-L/usr/lib/qt3//lib -L/usr/X11R6/lib -L/usr/lib/ -L/usr/X11R6/lib/ -lqt-mt 
-lpng -lz -lXi -lXrender -lXrandr -lXinerama -lXft -lfreetype -lfontconfig 
-lXext -lX11 -lm -lSM -lICE -ldl -lpthread

but I also have $QTDIR set to /usr/lib/qt3-head which is what is currently 
used to compile with the cvs version of Qt without having to use 
--with-qt-dir when running configure in kdelibs.

Greetings,

--
Antonio Larrosa Jimenez
KDE developer - larrosa@kde.org
http://developer.kde.org/~larrosa/
Search for beauty, it's the only thing which is worth in this nasty world.

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic