QT not found problem
Hi!
I want to install knifty. I get this:
checking for Qt... 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!
dpkg:
knifty-0.4.1# dpkg -l | grep libqt*
ii libqt2 2.3.1-22 Qt GUI Library (runtime version).
ii libqt3-headers 3.2.3-2 Qt3 header files
ii libqt3-mt-dev 3.2.3-2 Qt development files (Threaded)
ii libqt3c102 3.2.3-2 Qt Library
ii libqt3c102-mt 3.2.3-2 Qt GUI Library (Threaded runtime
version)
config.log:
tmp/cc6m0aWH.o(.text+0xb): In function `main':
: undefined reference to `QString::null'
/tmp/cc6m0aWH.o(.text+0x10): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/cc6m0aWH.o(.text+0x1e): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/cc6m0aWH.o(.text+0x29): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
/tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x21): In fun
ction `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(void)+0x2a): In fun
ction `QValueListPrivate<QString>::QValueListPrivate(void)':
: undefined reference to `QString::makeSharedNull(void)'
/tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x27):
In func
tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x32):
In func
tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x5f):
In func
tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QString::shared_null'
/tmp/cc6m0aWH.o(.gnu.linkonce.t._._t17QValueListPrivate1Z7QString+0x6a):
In func
tion `QValueListPrivate<QString>::~QValueListPrivate(void)':
: undefined reference to `QStringData::deleteSelf(void)'
/tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.insert(QValueListIte
rator<QString>, QString const &)+0x27): In function
`QValueListPrivate<QString>:
:insert(QValueListIterator<QString>, QString const &)':
: undefined reference to `QString::QString(QString const &)'
/tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<Q
String> const &)+0x21): In function
`QValueListPrivate<QString>::QValueListPriva
te(QValueListPrivate<QString> const &)':
: undefined reference to `QString::shared_null'
/tmp/cc6m0aWH.o(.QValueListPrivate<QString>::gnu.linkonce.t.(QValueListPrivate<Q
String> const &)+0x2a): In function
`QValueListPrivate<QString>::QValueListPriva
te(QValueListPrivate<QString> const &)':
: undefined reference to `QString::makeSharedNull(void)'
collect2: ld returned 1 exit status
configure:24549: $? = 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);
Thanks,
Simon
Reply to: