[PyKDE] PyKDE2 for KDE2.2.0/2.2.1 complile bug

Jim Bublitz jbublitz at nwinternet.com
Thu Mar 21 02:05:00 GMT 2002

PyKDE2 looks for kapplication.h in all KDE2.2.x versions. In my
version of KDE2.2.2, I have a kapplication.h, which consists of the
line '#include <kapp.h>'. (kapp.h is renamed to kapplication.h in
KDE3). In KDE2.2.0 and KDE2.2.1, I've had a report that the
compile fails because this .h file is missing. If you encounter this
problem when compiling, you can handle it several different ways:

1. Create a kapplication.h containing an include of kapp.h (an
empty file will probably work too) in kde2/include or wherever you
KDE inlcude files are located.

2. Delete the reference to kapplication.h (in
kdecore/sipDeclkdecoreDecl.h around line 51)

3. If you're building for KDE2.2.0 or 2.2.1, you should be using
PyKDE2-3.0-generic-beta1.tar.gz. You can delete 'kapplication.sip'
in the file kdecore.sip-in *before* running 'make build' - this is
basically the cause of the error. The body of this file is
versioned out for all versions except KDE3, but sip picks up the .h
file reference anyway. It has no affect on compiled code - gcc just
needs to find the missing .h file, or have the reference to it


More information about the PyQt mailing list