[LUGOS] QT
Matej Zerovnik - LeVaK
levak at planetq.org
Thu Jul 18 15:22:53 CEST 2002
On Wednesday 17 July 2002 20:37, Matej Zerovnik - LeVaK wrote:
> Probavam prevesti par KDE programov ampak mi ze configure javi napako.
> Configure poženem z ukazom:
> $ ./configure --prefix=/usr --with-qt-includes=/usr/include/qt \
> --with-qt-libraries=/usr/lib
> in dobim naslednjo napako:
>
> configure:19306: error: Qt (>= Qt 3.0.2) (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!
>
>
> root at etela:/work/arson-0.9.6-kde3# dpkg -l '*qt*' | grep ii
> ii libqt3 3.0.4-2 Qt GUI Library (runtime version)
> ii libqt3-dev 3.0.4-2 Qt GUI development files
> ii libqt3-mt 3.0.4-2 Qt GUI Library (Threaded runtime version)
> ii libqt3-mt-dev 3.0.4-2 Qt Threaded development files
> ii qt3-tools 3.0.4-2 Qt GUI Designer and other Qt3 based tools
> root at etela:/work/arson-0.9.6-kde3#
>
> Pakete imam vse nalozene... V config.log se nahaja tole:
> configure:19097: checking for Qt
> configure: 19159: /usr/include/qstyle.h
> configure: 19159: /usr/qstyle.h
> configure: 19159: /usr/lib/qt3/include/qstyle.h
> configure: 19159: /usr/lib/qt3/qstyle.h
> configure: 19159: /usr/lib/qt/include/qstyle.h
> configure: 19159: /usr/lib/qt/qstyle.h
> configure: 19159: /usr/local/qt/include/qstyle.h
> configure: 19159: /usr/include/qt/qstyle.h
> taking that
> tried NO
> configure:19264: rm -rf SunWS_cache; g++ -o conftest -O2 -fno-exceptions
> -fno-check-new -I/usr/include/qt -I/usr/X11R6/include -DQT_THREAD_SUPPORT
> -D_REENTRANT -L/usr/lib -L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz
> -lm -ljpeg -ldl -lXext -lX11 -lSM -lICE -lresolv -lpthread 1>&5
> /tmp/ccyfmPLS.o: In function `main':
> /tmp/ccyfmPLS.o(.text+0xe): undefined reference to `QString::null'
> /tmp/ccyfmPLS.o(.text+0x13): undefined reference to
> `QStyleFactory::create(QString const&)'
> /tmp/ccyfmPLS.o(.text+0x20): undefined reference to
> `QCursor::QCursor[in-charge](int)'
> /tmp/ccyfmPLS.o(.text+0x28): undefined reference to `QCursor::~QCursor
> [in-charge]()'
> collect2: ld returned 1 exit status
> configure:19267: $? = 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 >= 302)
> #error 1
> #endif
>
> int main() {
> (void)QStyleFactory::create(QString::null);
> QCursor c(Qt::WhatsThisCursor);
> return 0;
> }
> configure:19306: error: Qt (>= Qt 3.0.2) (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!
>
>
> Ali je imev kdo podobne probleme in jih je resil? Uporabljam debian!
Problem resen. Problem je biv gcc 3.0 oz g++ 3.0, ki zgleda ne mara QT-ja
LeVaK
More information about the lugos-list
mailing list