little problem with qt libs...
Dieter Mummenschanz
mummenschanz at gmx.net
Mon Nov 5 22:48:24 GMT 2001
> post the results from the ./configure to me and also the config.log .
> regards, René
>
I´ve send the config.log along with my last post. plz take a look at it.
Maybe my qt-libs are bad because of some undefined references to some QString::
methodes.
This is the part I believe causes the problem:
...
configure:5402: checking for Qt
configure: 5464: /usr/lib/qt2/include/qstyle.h
taking that
configure:5563: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions
-fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include -L/usr/lib/qt2/lib
-L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm -ljpeg -lXext -lX11 -lSM
-lICE -lresolv 1>&5
/tmp/ccGYS6jB.o: In function `main':
/tmp/ccGYS6jB.o(.text+0x3e): undefined reference to `QString::shared_null'
/tmp/ccGYS6jB.o(.text+0x71): undefined reference to
`QIconView::QIconView(QWidget*, char const*, unsigned)'
/tmp/ccGYS6jB.o(.text+0x81): undefined reference to
`QIconView::setWordWrapIconText(bool)'
/tmp/ccGYS6jB.o(.text+0x86): undefined reference to `QString::shared_null'
/tmp/ccGYS6jB.o(.text+0xa5): undefined reference to `QString::setLatin1(char
const*, int)'
/tmp/ccGYS6jB.o(.text+0xba): undefined reference to `QString::shared_null'
/tmp/ccGYS6jB.o(.text+0xc5): undefined reference to
`QStringData::deleteSelf()'
/tmp/ccGYS6jB.o(.text+0xd7): undefined reference to
`QIconView::~QIconView()'
/tmp/ccGYS6jB.o(.text+0xeb): undefined reference to `QString::shared_null'
/tmp/ccGYS6jB.o(.text+0xf2): undefined reference to
`QString::makeSharedNull()'
/tmp/ccGYS6jB.o(.text+0xf9): undefined reference to
`QString::makeSharedNull()'
/usr/lib/qt2/lib/libqt.so: undefined reference to `__pure_virtual'
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();
QIconView iv(0);
iv.setWordWrapIconText(false);
QString s;
s.setLatin1("Elvis is alive", 14);
int magnolia = QEvent::Speech; /* new in 2.2 beta2 */
return 0;
}
Dieter
--
GMX - Die Kommunikationsplattform im Internet.
http://www.gmx.net
-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«
More information about the KDevelop
mailing list