Bug#40363: marked as done (configure fails to detect qt) by John Firebaugh <jfirebaugh at kde.org>

Stephan Kulow owner at bugs.kde.org
Sat Aug 31 08:02:26 UTC 2002


Your message with subj: configure fails to detect qt

Thank you for your bug report.
The bug that your reported no longer applies to the latest development (CVS) 
version of KDE. This is most probably because the bug has been fixed, the 
application has been substantially modified, or the application no longer 
exists. The bug report will be closed.

has caused the attached bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I'm
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Stephan Kulow
(administrator, KDE bugs database)

(Complete bug history is available at http://bugs.kde.org/db/40/40363.html)

Received: (at submit) by bugs.kde.org; 7 Apr 2002 14:37:31 +0000
Received: (qmail 15065 invoked by uid 33); 7 Apr 2002 14:37:31 -0000
Date: 7 Apr 2002 14:37:31 -0000
Message-ID: <20020407143731.15064.qmail at mail.kde.org>
To: submit at bugs.kde.org
Subject: configure fails to detect qt
From: true42 at bigfoot.com
X-KDE-Received: -62.109.70.137

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