[review] [PyKDE] Compile error - pykde 3.11.3
jbublitz at nwinternet.com
Sun Nov 7 18:27:09 GMT 2004
On Sunday 07 November 2004 00:29, Oliver Schenk wrote:
> Im quite new to this but following installation instructions i came
> across a compile error while running make for pykde.
> PyKDE version 3.11.3
> Debian 3.1 testing (2.6.8 kernel)
> KDE 3.2.3
> Make 3.80
> g++ -c -Wno-deprecated-declarations -pipe -fPIC -O2 -Wall -W
> -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUP
> ra/kde323 -I/usr/include/kde -I/usr/include/python2.3
> -I/usr/share/qt3/include -I/usr/X11R6/include -o
> In file included from sipkdeuipart0.cpp:107:
> sip/kdeui/klistview.sip:253:19: qlist.h: No such file or directory
> In file included from sipkdeuipart0.cpp:5681:
> sipkdeuipart0.h:43:19: qlist.h: No such file or directory
The last line would seem to be the problem. In Qt3, QList is renamed to
QPtrList, but Qt should provide a qlist.h header file for compatibility.
Here's qlist.h from my system (not Debian):
Check to see if you have qlist.h, and if so, perhaps QT_NO_COMPAT is getting
defined someplace. You can get around that by commenting out the #ifndef
QT_NO_COMPAT and #endif in the above.
Alternatively, you can find the one instance of qlist.h in
PyKDE/sip/kdeui/klistview.sip and change it to qptrlist.h and see if that
fixes the problem. That should be the only occurrance.
More information about the PyQt