qt - headers and libraries not found
Kai Thomsen
kai.thomsen at gmx.de
Fri Nov 28 15:40:41 UTC 2003
Gerhard Seidler wrote:
> configure:4501: checking for Qt
> configure:4648: g++ -o conftest -O2 -fno-exceptions -fno-rtti
> -fno-check-new -I/usr/lib/qt2/include -I/usr/X11R6/include
> -L/usr/lib/qt2/lib -L/usr/X11R6/lib conftest.C -lqt -lpng -lz -lm
> -lXext -lX11 1>&5
> /tmp/ccD0Q8Hi.o(.text+0x3e): In function `main':
> : undefined reference to `QString::shared_null'
> /tmp/ccD0Q8Hi.o(.text+0x71): In function `main':
> : undefined reference to `QIconView::QIconView[in-charge](QWidget*,
> char const*, unsigned)'
> /tmp/ccD0Q8Hi.o(.text+0x7b): In function `main':
> : undefined reference to `QIconView::setWordWrapIconText(bool)'
[...]
Die qt2 RPMs sind mit GCC 2.96 übersetzt worden, IIRC. Daher könnte die
Installation der Pakete `compat-gcc' und `compat-gcc-c++' und das
Verwenden von
env CC=gcc296 CXX=g++296 ./configure
helfen, aber eine richtige Lösung ist das nicht; eine Portierung der
`Chemsuite' (letzte Änderung datiert vom Februar 2002) auf Qt 3 wäre
sinnvoller.
--Kai
More information about the Fedora-de-list
mailing list