[Kde-bindings] PyKDE 4.5.2

Hans-Peter Jansen hpj at urpla.net
Fri Nov 26 16:17:39 UTC 2010


Hi,

current PyKDE from kdebindings-4.5.2 doesn't build anymore.

First, I needed to relocate the akonadi Entity dtor to the protected 
section (see attached patch), but then it fails due to some smokegen 
error resulting in:

/usr/src/packages/BUILD/kdebindings-4.5.2/build/smoke/nepomuk/x_7.cpp: 
In member function 'void __smokenepomuk::x_Nepomuk__Resource::x_91(Smoke::StackItem*)':
/usr/src/packages/BUILD/kdebindings-4.5.2/build/smoke/nepomuk/x_7.cpp:575: 
error: variable 'Nepomuk::File xret' has initializer but incomplete type
/usr/src/packages/BUILD/kdebindings-4.5.2/build/smoke/nepomuk/x_7.cpp:575: 
error: invalid use of incomplete type 'struct Nepomuk::File'
/usr/include/nepomuk/resource.h:40: error: forward declaration of 'struct Nepomuk::File'
/usr/src/packages/BUILD/kdebindings-4.5.2/build/smoke/nepomuk/x_7.cpp:576: 
error: invalid use of incomplete type 'struct Nepomuk::File'
/usr/include/nepomuk/resource.h:40: error: forward declaration of 'struct Nepomuk::File'
make[2]: *** [smoke/nepomuk/CMakeFiles/smokenepomuk.dir/x_7.o] Error 1

I must confess, I'm lost here.

What's the rationale of replacing sip here? Is it really possible to 
mix python bindings of different generators with no apparent downsides?
How are Qt properties, signals/slots, QStrings, QVariants and the like 
handled, when they cross the generators borders? (IOW: interoperability)
Is there any smokegen libraries reference guide available (similar to 
pyqt4ref.html)?

Pete
-------------- next part --------------
A non-text attachment was scrubbed...
Name: akonadi-entity-protected.diff
Type: text/x-diff
Size: 550 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-bindings/attachments/20101126/326c8500/attachment.bin>


More information about the Kde-bindings mailing list