Version: (using Devel) Installed from: Compiled sources Hello, PyKDE and plasma seam have bug in version beta1: In file included from /usr/include/python2.6/Python.h:8, from /usr/include/python2.6/sip.h:33, from /var/tmp/portage/kde-base/pykde4-4.3.82/work/pykde4-4.3.82-2.6_build/python/pykde4/sip/plasma/sipAPIplasma.h:11, from /var/tmp/portage/kde-base/pykde4-4.3.82/work/pykde4-4.3.82-2.6_build/python/pykde4/sip/plasma/sipplasmapart4.cpp:7: /usr/include/python2.6/pyconfig.h:1073:1: warning: "_XOPEN_SOURCE" redefined <command-line>: warning: this is the location of the previous definition sipplasmapart4.cpp: In function 'PyObject* meth_Plasma_RunnerManager_enabledSingleModeRunnerIds(PyObject*, PyObject*)': sipplasmapart4.cpp:6858: error: 'class Plasma::RunnerManager' has no member named 'enabledSingleModeRunnerIds' make[2]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/sip/plasma/sipplasmapart4.o] Error 1 make[2]: *** Waiting for unfinished jobs.... make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/all] Error 2 make: *** [all] Error 2 Can you fix it?
Bug too for the rc1: /var/tmp/portage/kde-base/pykde4-4.3.90/work/pykde4-4.3.90-2.6/python/pykde4/sip/ktexteditor/markinterface.sip: In function 'PyObject* convertFrom_QHash_1800_0101KTextEditor_Mark(void*, PyObject*)': /var/tmp/portage/kde-base/pykde4-4.3.90/work/pykde4-4.3.90-2.6/python/pykde4/sip/ktexteditor/markinterface.sip:165: warning: suggest explicit braces to avoid ambiguous 'else' sipktexteditorpart4.cpp: In member function 'virtual QObject* sipKTextEditor_Factory::createObject(QObject*, const char*, const QStringList&)': sipktexteditorpart4.cpp:1659: warning: 'virtual QObject* KPluginFactory::createObject(QObject*, const char*, const QStringList&)' is deprecated (declared at /usr/include/kpluginfactory.h:415) sipktexteditorpart4.cpp: In member function 'QObject* sipKTextEditor_Factory::sipProtectVirt_createObject(bool, QObject*, const char*, const QStringList&)': sipktexteditorpart4.cpp:1853: warning: 'virtual QObject* KPluginFactory::createObject(QObject*, const char*, const QStringList&)' is deprecated (declared at /usr/include/kpluginfactory.h:415) sipktexteditorpart4.cpp: In function 'PyObject* meth_KTextEditor_Factory_create(PyObject*, PyObject*)': sipktexteditorpart4.cpp:2064: warning: 'QObject* KPluginFactory::create(QObject*, const char*, const QStringList&)' is deprecated (declared at /usr/include/kpluginfactory.h:342) sipktexteditorpart4.cpp: In member function 'bool sipKTextEditor_Document::sipProtect_isLocalFileTemporary() const': sipktexteditorpart4.cpp:8438: warning: 'bool KParts::ReadOnlyPart::isLocalFileTemporary() const' is deprecated (declared at /usr/include/kparts/part.h:686) sipktexteditorpart4.cpp: In member function 'void sipKTextEditor_Document::sipProtect_setLocalFileTemporary(bool)': sipktexteditorpart4.cpp:8443: warning: 'void KParts::ReadOnlyPart::setLocalFileTemporary(bool)' is deprecated (declared at /usr/include/kparts/part.h:691) sip: QAbstractAnimation has not been defined make[2]: *** [python/pykde4/sip/plasma/sipplasmapart0.cpp] Error 1 [ 75%] make[1]: *** [python/pykde4/CMakeFiles/python_module_PyKDE4_plasma.dir/all] Error 2 make[1]: *** Waiting for unfinished jobs....
You need to have the latest PyQt (the one that supports Qt 4.6) to compiler PyKDE. We still need to bump the required PyQt version.
I have test pykde 4.3.90 with Qt 4.6.
You also need the latest PyQt and SIP versions. We already have discussed this on the mailing list. Latest PyQt/SIP snapshots are reported to work. Closing this as invalid. For reference, see this: http://lists.kde.org/?l=kde-bindings&m=126292995107792&w=2
I have sip 4.9.3-r1 and pyqt4 4.6.2, what version is wrong?
sip: QAbstractAnimation has not been defined I guess you need a current development snapshot of PyQt and SIP. The official documentation doesn't mention QAbstractAnimation yet (though PyKDE needs it). Try a development snapshot, they're available as tarballs on http://www.riverbankcomputing.co.uk/software/pyqt/download .
This dep can be added to the cmake file?
Yes. But I don't know what the version string of these development snapshots is. The maintainer of PyKDE will probably change the required version in time for KDE 4.4.0 final.
Same with the snapshot version. Cli used for the compilation (given by gentoo), for PyQt4: python2.6 configure.py --confirm-license --bindir=/usr/bin --destdir=/usr/lib64/python2.6/site-packages --sipdir=/usr/share/sip --enable=QtCore --enable=QtNetwork --enable=QtScript --enable=QtTest --enable=QtXml --enable=QtGui --enable=QtDesigner --enable=QtScriptTools --enable=QtOpenGL --enable=QtSql --enable=QtSvg --enable=QtWebKit CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ LINK=x86_64-pc-linux-gnu-g++ LINK_SHLIB=x86_64-pc-linux-gnu-g++ CFLAGS='-pipe -march=native -O2 -msse -msse2 -msse3 -msse4a -fomit-frame-pointer -falign-functions=64 -floop-block -floop-interchange -fgraphite -g -ggdb' CXXFLAGS='-pipe -march=native -O2 -msse -msse2 -msse3 -msse4a -fomit-frame-pointer -falign-functions=64 -floop-block -floop-interchange -fgraphite -g -ggdb' LFLAGS='-Wl,-O1' For sip: python2.6 configure.py --bindir=/usr/bin --destdir=/usr/lib64/python2.6/site-packages --incdir=/usr/include/python2.6 --sipdir=/usr/share/sip CC=x86_64-pc-linux-gnu-gcc CXX=x86_64-pc-linux-gnu-g++ LINK=x86_64-pc-linux-gnu-g++ LINK_SHLIB=x86_64-pc-linux-gnu-g++ CFLAGS='-pipe -march=native -O2 -msse -msse2 -msse3 -msse4a -fomit-frame-pointer -falign-functions=64 -floop-block -floop-interchange -fgraphite -g -ggdb' CXXFLAGS='-pipe -march=native -O2 -msse -msse2 -msse3 -msse4a -fomit-frame-pointer -falign-functions=64 -floop-block -floop-interchange -fgraphite -g -ggdb' LFLAGS='-Wl,-O1' STRIP=true