YourFriendlyGopher
January 20th, 2007, 12:37 PM
Hi all,
I've been having this problem when running ./configure on all qt based programs. All of them complain about library qt-mt not being found:
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!
Where the error occurs in config.log:
configure:31904: checking for perl
configure:31964: result: /usr/bin/perl
configure:32100: checking for Qt
configure: 32165: /usr/share/qt3/include/qstyle.h
taking that
tried NO
configure:32282: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib -L/usr/lib -Wl,--as-needed conftest.cpp -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
In file included from conftest.cpp:2:
/usr/share/qt3/include/qglobal.h:773:21: error: qconfig.h: No such file or directory
/usr/share/qt3/include/qglobal.h:783:22: error: qmodules.h: No such file or directory
configure:32285: $? = 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:32325: 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've been trying to figure this out for ages, it's been a REAL pain. I've tried setting the environment variables QTDIR (/usr/share/qt3), QTLIB (/usr/lib) and QMAKESPEC (/usr/share/qt3/mkspecs/linux-g++). Also I've tried configuring by:
./configure --with-qt-dir=/usr/share/qt3 --with-qt-includes=/usr/include/qt3 --with-qt-libraries=/usr/lib/
But still nothing works.. so, if anyone has any ideas it'd be appreciated, thanks.
I've been having this problem when running ./configure on all qt based programs. All of them complain about library qt-mt not being found:
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!
Where the error occurs in config.log:
configure:31904: checking for perl
configure:31964: result: /usr/bin/perl
configure:32100: checking for Qt
configure: 32165: /usr/share/qt3/include/qstyle.h
taking that
tried NO
configure:32282: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -I/usr/share/qt3/include -I. -DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/lib -L/usr/lib -Wl,--as-needed conftest.cpp -lqt-mt -lpng -lz -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lpthread 1>&5
In file included from conftest.cpp:2:
/usr/share/qt3/include/qglobal.h:773:21: error: qconfig.h: No such file or directory
/usr/share/qt3/include/qglobal.h:783:22: error: qmodules.h: No such file or directory
configure:32285: $? = 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:32325: 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've been trying to figure this out for ages, it's been a REAL pain. I've tried setting the environment variables QTDIR (/usr/share/qt3), QTLIB (/usr/lib) and QMAKESPEC (/usr/share/qt3/mkspecs/linux-g++). Also I've tried configuring by:
./configure --with-qt-dir=/usr/share/qt3 --with-qt-includes=/usr/include/qt3 --with-qt-libraries=/usr/lib/
But still nothing works.. so, if anyone has any ideas it'd be appreciated, thanks.