Compilation failure with QT 3.1.1
Harald Fernengel
harry at kdevelop.org
Mon Mar 24 13:46:02 UTC 2003
Hi,
On Monday 24 March 2003 10:55, Mathieu wrote:
> 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-i38
>6_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
> :)..
debian moved the compat headers into another package, you have to install that
to get it compiling.
OTOH, it isn't good style to require obsolete headers. Can you please send a
patch of the modifications you made to get it working?
Thanks,
Harry
More information about the KDevelop-devel
mailing list