On 23.Jun 2003 - 14:48:20, Lukasz Lesniak wrote: > I have Qt 3.2.0b1 installed and compiled from source. > The instruction for instalation this version of Qt suggest > QTDIR=/usr/local/qt > and I have this path to my new Qt. > > I red some suggestions from net about Qt and I try > also ./configure --with-qt-dir=/usr/local/qt because I have > there Qt. The same result ... > > There is a fragment of config.log, but I can't read this: > "PATH: /usr/local/qt/bin > configure: 24697: /usr/local/qt/include/qstyle.h > configure:24803: rm -rf SunWS_cache; g++ -o conftest - > Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic - > W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings - > ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast- > align -Wconversion -O2 -fno-exceptions -fno-check-new - > I/usr/local/qt/include -I/usr/X11R6/include - > DQT_THREAD_SUPPORT -D_REENTRANT -L/usr/local/qt/lib - > L/usr/X11R6/lib conftest.cc -lqt-mt -lpng -lz -lm -ljpeg -ldl - > lXext -lX11 -lSM -lICE -lpthread 1>&5 > /usr/local/qt/lib/libqt-mt.so: undefined reference to > `FT_Stream_GetShort' > /usr/local/qt/lib/libqt-mt.so: undefined reference to > `FT_Stream_ExitFrame' > /usr/local/qt/lib/libqt-mt.so: undefined reference to > `FT_Stream_GetLong' > /usr/local/qt/lib/libqt-mt.so: undefined reference to > `FT_Stream_Seek' > /usr/local/qt/lib/libqt-mt.so: undefined reference to > `FT_Stream_EnterFrame' > configure:24846: error: Qt (>= Qt 3.1.0) (library qt-mt) not > found. Please check your installation! "
These are from freetype, so you configured Qt with -xft (or it did this by itselft). However the KDE configure script does not know this, and because of that the -lfreetype option is not included, causing these undefined references. First solution: try a export LDFLAGS=-lfreetype before the configure of KDE. second solution: recompile qt using the -no-xft option with the configure script. This does not necessarily turn of AA-Fonts, they work here and I don't have xft-support in QT. Andreas -- You have a deep appreciation of the arts and music.

