[Comm] kde headers

Dmitry Ananjev =?iso-8859-1?q?altex_=CE=C1_crazy=2Eru?=
Пт Дек 31 13:06:07 MSK 2004


В сообщении от Пятница 31 Декабрь 2004 12:12 Michael Isachenkov написал(a):
> надо собирать qt-приложения той же версией gcc, с которой собраны qt-шные
> либы.
А ну то что в мастере были - то и использую :-) Или я что-то нитак 
понимаю :-)) ?
> и не забыть поставить qt3-devel :)
Неа, не забыл. Иначабы писалось как у автора треда :)

В логах вот  что по этому поводу:
-------------
configure:28375: checking for Qt
configure: 28443: /usr/lib/qt3//include/qstyle.h
taking that
tried NO
configure:28558: rm -rf SunWS_cache; g++ -o conftest -Wnon-virtual-dtor
 -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2
  -fno-exceptions -fno-check-new -fno-common -I/usr/lib/qt3//include
   -I/usr/X11R6/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  
-L/usr/lib/qt3//lib
    -L/usr/X11R6/lib   conftest.cc  -lqt-mt -lpng -lz -lm -ljpeg -ldl  -lXext
     -lX11 -lSM -lICE  -lpthread 1>&5
/tmp/cc5p4A5V.o(.text+0x8): In function `main':
: undefined reference to `QString::null'
/tmp/cc5p4A5V.o(.text+0xd): In function `main':
: undefined reference to `QStyleFactory::create(QString const &)'
/tmp/cc5p4A5V.o(.text+0x1a): In function `main':
: undefined reference to `QCursor::QCursor(int)'
/tmp/cc5p4A5V.o(.text+0x24): In function `main':
: undefined reference to `QCursor::~QCursor(void)'
collect2: ld returned 1 exit status
configure:28561: $? = 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 >= 0x030200)
#error 1
#endif

int main() {
    (void)QStyleFactory::create(QString::null);
    QCursor c(Qt::WhatsThisCursor);
    return 0;
}
configure:28601: error: Qt (>= Qt 3.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!



Подробная информация о списке рассылки community