Bug#40363: configure fails to detect qt
true42 at bigfoot.com
true42 at bigfoot.com
Sun Apr 7 16:49:02 UTC 2002
Package: kdevelop
Version: KDE 2.2.2
Severity: normal
Installed from: Mandrake RPMs
Compiler: gcc 2.96
OS: Linux
OS/Compiler notes: Not Specified
I have libqt2-2.3.1-29mdk and libqt2-devel-2.3.1-29mdk installed (usr/lib/qt2), the directory is recognized by kdevelop's path settings.
Still, running configure (even with --with-qt-...) on a new project gives the following error:
"checking for Qt... configure: error: Qt (>= Qt 2.2.2) (library qt) not found. Please check your installation!"
Output of configure.log:
configure:6588: checking for Qt
configure: 6652: /usr/lib/qt2/include/qstyle.h
taking that
tried NO
configure:6764: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions -fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include -D_REENTRANT -L/usr/lib/qt2/lib -L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM -lICE -lresolv 1>&5
/home/marcus/tmp/ccYAmE4N.o: In function `main':
/home/marcus/tmp/ccYAmE4N.o(.text+0x41): undefined reference to `QString::shared_null'
/home/marcus/tmp/ccYAmE4N.o(.text+0x74): undefined reference to `QIconView::QIconView(QWidget*, char const*, unsigned)'
/home/marcus/tmp/ccYAmE4N.o(.text+0x84): undefined reference to `QIconView::setWordWrapIconText(bool)'
/home/marcus/tmp/ccYAmE4N.o(.text+0x89): undefined reference to `QString::shared_null'
/home/marcus/tmp/ccYAmE4N.o(.text+0xa9): undefined reference to `QString::setLatin1(char const*, int)'
/home/marcus/tmp/ccYAmE4N.o(.text+0xbe): undefined reference to `QString::shared_null'
/home/marcus/tmp/ccYAmE4N.o(.text+0xc9): undefined reference to `QStringData::deleteSelf()'
/home/marcus/tmp/ccYAmE4N.o(.text+0xdb): undefined reference to `QIconView::~QIconView()'
/home/marcus/tmp/ccYAmE4N.o(.text+0xf2): undefined reference to `QString::shared_null'
/home/marcus/tmp/ccYAmE4N.o(.text+0x101): undefined reference to `QString::makeSharedNull()'
/home/marcus/tmp/ccYAmE4N.o(.text+0x108): undefined reference to `QString::makeSharedNull()'
collect2: ld returned 1 exit status
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qevent.h>
#include <qstring.h>
#include <qstyle.h>
#include <qiconview.h>
#if ! (QT_VERSION >= 222)
#error 1
#endif
int main() {
QStringList *t = new QStringList();
Q_UNUSED(t);
QIconView iv(0);
iv.setWordWrapIconText(false);
QString s;
s.setLatin1("Elvis is alive", 14);
return 0;
}
Is this a bug?
Thank you very much,
Marcus.
(Submitted via bugs.kde.org)
(Called from KBugReport dialog. Fields Application, KDE Version, OS, Compiler manually changed)
More information about the KDevelop-devel
mailing list