[PyKDE] compile error in PyKDE-3.11alpha6
Karsten Künne
kuenne at rentec.com
Sun Apr 25 08:02:00 BST 2004
Hi,
I tried PyKDE-3.11alpha6 today on a Solaris 8 box and I got the following
error:
gmake[1]: Entering directory `/usr/local/src/kde/kde-3.2.2/PyKDE-3.11alpha6/
kdecore'
g++ -c -fPIC -O2 -w -D_REENTRANT -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -I. -I../
extra/kde322 -I/usr/local/products/kde/kde-3.2.2/include -I/usr/local/
products/python/2.3.3/include/python2.3 -I/usr/local/products/kde/qt-3.3.1/
include -I/usr/openwin/include -o kdecorepart0.o kdecorepart0.cpp
kdecorepart0.cpp: In function `PyObject*
sipDo_KStartupInfoData_pids(PyObject*,
PyObject*)':
kdecorepart0.cpp:45896: error: cannot convert `const QValueList<pid_t>*' to `
const QValueList<int>*' in assignment
gmake[1]: *** [kdecorepart0.o] Error 1
gmake[1]: Leaving directory `/usr/local/src/kde/kde-3.2.2/PyKDE-3.11alpha6/
kdecore'
gmake: *** [all] Error 2
My setup:
sip-3.10.1
Qt-3.3.1
PyQt-3.11
KDE-3.2.2
gcc-3.3.3
Solaris 8
I worked around it by simply putting a cast to "const QValueList<int>*" into
kdecorepart0.cpp at line 45896. But this is of course not a proper fix. It's
just that I don't know what the proper fix in the appropriate sip file would
be.
After I got around that everything worked great! The importtest and the
examples I tried all worked.
Great job! Keep up the good work.
Karsten.
--
When love is gone, there's always justice.
And when justice is gone, there's always force.
And when force is gone, there's always Mom.
Hi, Mom!
-- Laurie Anderson
More information about the PyQt
mailing list