Compilation failure with QT 3.1.1

Mathieu mathieu at gginter.net
Mon Mar 24 10:53:04 UTC 2003


Hi,

I've recently updated my system to the KDE .deb's from Sarge. I know that's 
experimental, but I thought I'd mention that the QT library it uses breaks 
the KDevelop build. What follows is a description of the .DEB and the 
breakage I've encountered.

caps at loina:/usr/src/kde3src/kdevelop/parts/outputviews$ apt-cache showpkg 
libqt3c102-mt
Package: libqt3c102-mt
Versions:
3:3.1.1-7(/var/lib/apt/lists/ftp.debian.nl_debian_dists_sid_main_binary-i386_Packages)(/var/lib/dpkg/status)

lib/qextmdi/src/qextmdimain.cpp includes 'qobjcoll.h' which doesn't seem to be 
around anymore. The class/struct it uses from that file ( QObjectListIt ) is 
now defined in qobjectlist.h.

parts/outputview/makewidget.h includes 'qstack.h' which doesn't exist anymore. 
The class it uses from that file ( QStack ) is now defined in qptrstack.h.

I've tried to fix these includes by basing inclusion on the QT_VERSION define 
and that works fine for the first include, but not for the second (QT_VERSION 
undefined). At that point I felt I should just tell you guys :)..

Hope it helps,

Mathieu





More information about the KDevelop-devel mailing list