[PyKDE] Do sip, PyQT and PyKDE work with KDE 3.0?

Alex Willmer siu99aw at rdg.ac.uk
Thu Apr 25 16:04:00 BST 2002


Perhaps I'm missing something obvious here and what I'm trying isn't possible, 
but here goes...

As the subject line says, I'm trying to get PyKDE working with KDE 3.0. I've 
downloaded the older packages PyQt-3.0-Qt-2.3.1 (plus the 2 patches, the 
first of which mentions a non-existent file), PyKDE2-3.0-generic-beta1 & 
sip-3.0 according to the instructions at the PyKDE download page. 

Sip 3.0 has been installed without error. All rpm versions of sip and PyQt 
have been removed from my system (Mandrake 8.2 with KDE 3.0 final if it's 
relevant). However I can't get PyQt to build, is this version compatible with 
QT 3.0.x? The test of QT_VERSION in the configure script would suggest not, 
but it is needed for KDE 3.0.x and there is a PyKDE2 below for BETA2.

I've altered the QT_VERSION check to allow qt 3.0.3, but make fails with the 
following error:

make[1]: Entering directory `/home/alex/stuff/software/python/PyQt-3.0'
Making all in qt
make[2]: Entering directory `/home/alex/stuff/software/python/PyQt-3.0/qt'
/bin/sh ../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I. -I..  
-I/usr/include/python2.2 -I/usr/local/include/sip -I/usr/lib/qt3/include 
-DQT_THREAD_SUPPORT  -I/usr/X11R6/include  -fno-exceptions -O2 -c -o 
qtcmodule.lo `test -f qtcmodule.cpp || echo './'`qtcmodule.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/python2.2 
-I/usr/local/include/sip -I/usr/lib/qt3/include -DQT_THREAD_SUPPORT 
-I/usr/X11R6/include -fno-exceptions -O2 -c qtcmodule.cpp  -fPIC -DPIC -o 
qtcmodule.lo
In file included from sipqtQMultiLineEdit.h:40,
                 from qtcmodule.cpp:152:
qtableview.sip:68:24: qtableview.h: No such file or directory
make[2]: *** [qtcmodule.lo] Error 1
make[2]: Leaving directory `/home/alex/stuff/software/python/PyQt-3.0/qt'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/stuff/software/python/PyQt-3.0'
make: *** [all] Error 2


What is the answer here? Does PyKDE2 work with KDE 3.0? Is the page at  
http://www.riverbankcomputing.co.uk/pykde/download.php correct?

Sincerely

Alex

--
Alex Willmer
mailto:siu99aw at rdg.ac.uk




More information about the PyQt mailing list