Re: problemas com a library qt-mt
Em Sáb 02 Ago 2003 10:11, Huberto Gastal Mayer escreveu:
> Que problemas tu tem ao tentar compilar algo pro KDE?
Veja vc mesmo:
[root@debian karchiver-2.91.1]# ./configure --with-qt-dir=/usr/share/qt3
--with-qt-includes=/usr/share/qt3/include
--with-qt-libraries=/usr/share/qt3/lib
checking for Qt... configure: error: Qt (>= Qt 3.0.1) (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!
do config.log:
configure:6618: checking for Qt
configure: 6682: /usr/share/qt3/include/qstyle.h
taking that
configure:6794: rm -rf SunWS_cache; c++ -o conftest -O2 -fno-exceptions
-fno-check-new -I/usr/share/qt3/include -I/usr/X11R6/include
-DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/share/qt3/lib -L/usr/X11R6/lib
conftest.C -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE
-lresolv -lpthread 1>&5
/tmp/ccZMr8Co.o(.text+0xe): In function `main':
: undefined reference to `QString::null'
/tmp/ccZMr8Co.o(.text+0x13): In function `main':
: undefined reference to `QStyleFactory::create(QString const&)'
/tmp/ccZMr8Co.o(.text+0x20): In function `main':
: undefined reference to `QCursor::QCursor[in-charge](int)'
/tmp/ccZMr8Co.o(.text+0x28): In function `main':
: undefined reference to `QCursor::~QCursor [in-charge]()'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTV6QGList+0xc): undefined reference to
`QGList::clear()'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTV6QGList+0x10): undefined reference to
`QGList::~QGList [in-charge]()'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTV6QGList+0x14): undefined reference to
`QGList::~QGList [in-charge deleting]()'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTV6QGList+0x18): undefined reference to
`QPtrCollection::newItem(void*)'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTV6QGList+0x20): undefined reference to
`QGList::compareItems(void*, void*)'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTV6QGList+0x24): undefined reference to
`QGList::read(QDataStream&, void*&)'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTV6QGList+0x28): undefined reference to
`QGList::write(QDataStream&, void*) const'
/tmp/ccZMr8Co.o(.gnu.linkonce.r._ZTI6QGList+0x8): undefined reference to
`typeinfo for QPtrCollection'
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 >= 301)
#error 1
#endif
int main() {
(void)QStyleFactory::create(QString::null);
QCursor c(Qt::WhatsThisCursor);
return 0;
}
Blz?
Alguma sugestão?
Valeu
Ronaldo
--
Oh, I've seen copies [of Linux Journal] around the terminal room at The Labs.
-- Dennis Ritchie
--
|> // | \\ [***********************************]
| ( õ õ ) [Ronaldo Reis Júnior ]
|> V [UFV/DBA-Entomologia ]
| / \ [36571-000 Viçosa - MG ]
|> /(.''`.)\ [Fone: 31-3899-2532 ]
| /(: :' :)\ [chrysopa@insecta.ufv.br ]
|>/ (`. `'` ) \[ICQ#: 5692561 | LinuxUser#: 205366 ]
| ( `- ) [***********************************]
|>> _/ \_Powered by GNU/Debian Woody/Sarge
Reply to: