HELP
Piotr Tomaszewski
piotr.tomaszewski at wp.pl
Fri Apr 12 12:39:03 UTC 2002
When i try to compile kde application kdevelop display error about qt
but i've qt 3.0.3 gcc 3.0.4 what i must do to compile this?
configure:6514: checking for libjpeg
configure:6552: gcc -o conftest -O2 -O0 -g3 -Wall
-I/usr/X11R6/include -D_REENTRANT conftest.c -L/usr/X11R6/lib -ljpeg
-lm 1>&5
configure: 6592: /usr/include/jpeglib.h
taking that
configure:6755: checking for Qt
configure: 6819: /usr/lib/qt3/include/qstyle.h
taking that
configure:6931: rm -rf SunWS_cache; c++ -o conftest -O2 -O0 -g3 -Wall
-fno-exceptions -fno-check-new -I/usr/lib/qt3/include
-I/usr/X11R6/include -DQT_THREAD_SUPPORT -D_REENTRANT
-L/usr/lib/qt3/lib -L/usr/X11R6/lib conftest.C -lqt-mt -lpng -lz -lm
-ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
/tmp/ccfXdlMQ.o: In function `main':
/root/sdfsdf/conftest.C:12: undefined reference to `QString::null'
/root/sdfsdf/conftest.C:12: undefined reference to
`QStyleFactory::create(QString const&)'
/root/sdfsdf/conftest.C:13: undefined reference to
`QCursor::QCursor(int)'
/root/sdfsdf/conftest.C:14: undefined reference to `QCursor::~QCursor()'
collect2: ld returned 1 exit status
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 >= 302)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20020412/03e90418/attachment.html>
More information about the KDevelop-devel
mailing list