[PyQt] PyKDE doesn't compile with latest sip & PyQt

Phil Thompson phil at riverbankcomputing.co.uk
Sat Jun 23 16:58:24 BST 2007


On Wednesday 20 June 2007 6:15 pm, Ismail Dönmez wrote:
> Hi all,
>
> I got the following installed
>
> sip-20070619
> PyQt-20070613
> gcc 4.2.0
>
> Configuring PyKDE 3.16.0 with configure.py -k /usr/kde/3.5  && make results
> in :
>
> g++ -c -Wno-deprecated-declarations -pipe -fPIC -mtune=i686 -O2 -pipe
> -fomit-frame-pointer -Wall -W -D_REENTRANT -DQT_NO_DEBUG
> -DQT_THREAD_SUPPORT -I. -I../extra/kde353 -I/usr/kde/3.5/include
> -I/usr/include/python2.4 -I/usr/qt/3/mkspecs/default -I/usr/qt/3/include
> -I/usr/X11R6/include -o sipkdecorepart0.o sipkdecorepart0.cpp
> In file included from sipkdecorepart0.cpp:24:
> sip/kdecore/bytearray.sip:26:31: error: sipdcopQValueList.h: No such file
> or directory
> sipkdecorepart0.cpp:26:27: error: sipqtQVariant.h: No such file or
> directory sip/kdecore/kconfigbase.sip:299:61: error:
> sipkdecoreKConfigBase.h: No such file or directory
> sip/kdecore/kconfigdata.sip:95:33: error: sipkdecoreKEntryMap.h: No such
> file or directory
> sip/kdecore/kconfigdata.sip:96:30: error: sipkdecoreKEntry.h: No such file
> or directory
> sip/kdecore/kconfigdata.sip:97:33: error: sipkdecoreKEntryKey.h: No such
> file or directory
> sip/kdecore/bytearray.sip:582:28: error: sipdcopDCOPRef.h: No such file or
> directory
> sip/kdecore/bytearray.sip:583:27: error: sipqtQCString.h: No such file or
> directory
> sip/kdecore/bytearray.sip:667:26: error: sipqtQString.h: No such file or
> directory
> sip/kdecore/kmacroexpander.sip:123:24: error: sipqtQChar.h: No such file or
> directory
> sip/kdecore/kmacroexpander.sip:205:30: error: sipqtQStringList.h: No such
> file or directory
> sip/kdecore/ktimezones.sip:191:33: error: sipkdecoreKTimezone.h: No such
> file or directory
> sip/kdecore/ktimezones.sip:143:39: error: sipkdecoreKTimezoneSource.h: No
> such file or directory
> sip/kdecore/kmountpoint.sip:120:35: error: sipkdecoreKMountPoint.h: No such
> file or directory
> sip/kdecore/kmountpoint.sip:121:38: error: sipkdecoreKMountPointPtr.h: No
> such file or directory
> sip/kdecore/klockfile.sip:75:44: error: ../kdecore/sipkdecoreKLockFile.h:
> No such file or directory
> sip/kdecore/kconfigskeleton.sip:125:32: error: sipkdecorelonglong.h: No
> such file or directory
> sip/kdecore/kconfigskeleton.sip:126:33: error: sipkdecoreulonglong.h: No
> such file or directory
> sip/kdecore/kconfigskeleton.sip:1086:53: error:
> sipkdecoreKConfigSkeletonItemEnumChoice.h: No such file or directory
> sip/kdecore/kconfig.sip:196:37: error: sipkdecoreKSharedConfig.h: No such
> file or directory
> sip/kdecore/kcompletion.sip:155:33: error: sipkdecoreKShortcut.h: No such
> file or directory
>
>
> Any ideas appreciated.

I've added a patch to the PyKDE download page. It now builds on my system, but 
I haven't tried running anything. PyKDE should now also build on 64 bit 
systems against Python v2.5.

The patch basically removes unneeded internal stuff and may well build with 
earlier versions of SIP - I'd be interested in any feedback.

Phil



More information about the PyQt mailing list