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

List:       kde-core-devel
Subject:    Re: Autoconf: Checking for Qt
From:       David Faure <david () mandrakesoft ! com>
Date:       2000-04-02 20:57:31
[Download RAW message or body]

On Sun, Apr 02, 2000 at 10:49:19PM +0200, Martin Konold wrote:
> On Sun, 2 Apr 2000, Waldo Bastian wrote:
> 
> > Hiya,
> > 
> > I would like to change something about the way we check for Qt.
> > 
> > I want to solve the following problem:
> > On a standard distribution with both KDE 1.x and KDE 2.0 autoconf should be
> > able to find the correct Qt-lib, Qt-include-dir and Qt-moc without any QTDIR
> > set.
> > 
> > On SuSE and I believe Caldera as well, QT1.x will be installed in /usr/lib/qt
> > and QT2.x will be installed in /usr/lib/qt2. If we configure for KDE2
> > applications we should check /usr/lib/qt2 before we check /usr/lib/qt or any
> > other default places. If we configure for KDE1.x we shouldn't check
> > /usr/lib/qt2.
> > 
> > Is it correct that the autoconf stuff supports KDE1.x as well?
> > 
> > Currently, without QTDIR set, we pick up Qt1.x before finding Qt2.x.
> 
> Imho it is much better to look up a uniq function in each lib and therefor
> avoid the need for heuristics.
> 
> something like
> 
> AC_CHECK_LIB(/path/libqt, uniq-function, -L/path/qt )

And how do you know the paths if QTDIR is not set ?

-- 
David FAURE, david@mandrakesoft.com, faure@kde.org
http://home.clara.net/faure/
KDE, Making The Future of Computing Available Today
See http://www.kde.org/kde1-and-kde2.html for how to set up KDE 2

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

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