SuSE Linux: Version 7.1
This article refers to an older version of SuSE Linux.
Therefore some of the informations given in this article may
be outdated or the article may contain stale links.
You try to compile source code for programs with KDE support and/or programs using QT.
The command configure
fails with the message:
checking for Qt... configure: error: Qt (>= Qt 2.2.1) (libraries) not found.
The variable QTDIR still points to the old QT libraries /usr/lib/qt
.
Before executing configure
, change the variable using export
.
export QTDIR=/usr/lib/qt-<version>.
The make files also often don´t find some KDE header files in this context, because the variable
KDEDIR has the value /opt/kde
. Modify the variable using export
before executing
configure
.
export KDEDIR=/opt/kde2