Kdevelop 2.15, QT error
Hello, I have a problem with my kdevelop.
I'm running Debian unstable with 3.1rc6 and kdevelop 2.15.
When I make a new prosject I get this QT error :
autoheader2.50: `config.h.in' is created
configure: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
This is from the config.log :
configure:21427: checking for Qt
configure: 21494: /usr/include/qt//include/qstyle.h
configure: 21494: /usr/include/qt//qstyle.h
taking that
tried NO
tried /usr/include/qt//lib
tried /usr/include/qt/
tried /usr/lib/qt3/lib
tried /usr/lib/qt3
tried /usr/lib/qt/lib
tried /usr/lib/qt
tried /usr/X11R6/lib
configure:21604: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 -O0 -g3 -Wall -fno-exceptions -fno-check-new -I/usr/include/qt/ -I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/tmp/ccjhZ9GI.o(.text+0x14): In function `main':
/home/paul/programmering/fist/conftest.cc:12: undefined reference to `QString::null'
/tmp/ccjhZ9GI.o(.text+0x19):/home/paul/programmering/fist/conftest.cc:12: undefined reference to `QStyleFactory::create(QString const&)'
/tmp/ccjhZ9GI.o(.text+0x2a):/home/paul/programmering/fist/conftest.cc:13: undefined reference to `QCursor::QCursor[in-charge](int)'
/tmp/ccjhZ9GI.o(.text+0x39):/home/paul/programmering/fist/conftest.cc:14: undefined reference to `QCursor::~QCursor [in-charge]()'
collect2: ld returned 1 exit status
configure:21607: $? = 1
configure: failed program was:
#include "confdefs.h"
#include <qglobal.h>
#include <qapplication.h>
#include <qcursor.h>
#include <qstylefactory.h>
#include <private/qucomextra_p.h>
#if ! (QT_VERSION >= 0x030100)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
configure:21647: error: Qt (>= Qt 3.1 (20021021)) (library qt-mt) not found. Please check your installation!
For more details about this problem, look at the end of config.log.
Make sure that you have compiled Qt with thread support!
#####
I have libqt3 -dev -mt -emb -emb-mt -mt-dev installed.
It looks like it's something wrong with my gcc also, I'm not sure, I saw this in the config.log :
configure:2588: checking whether gcc accepts -g
configure:2612: gcc -c -g conftest.c >&5
configure:2615: $? = 0
configure:2618: test -s conftest.o
configure:2621: $? = 0
configure:2631: result: yes
configure:2658: gcc -c -O0 -g3 -Wall conftest.c >&5
conftest.c:2: parse error before "me"
configure:2661: $? = 1
configure: failed program was:
#ifndef __cplusplus
choke me
Please help.
Thanks
Paul
|