[Kde-bindings] [bindings] [Bug 332223] PyKDE4 fails to build with SIP 4.15.5 / PyQt4 4.10.4

Phil Thompson phil at riverbankcomputing.com
Wed Jul 30 12:25:45 UTC 2014


On 30/07/2014 1:17 pm, Raphael Kubo da Costa wrote:
> https://bugs.kde.org/show_bug.cgi?id=332223
> 
> --- Comment #12 from Raphael Kubo da Costa <rakuco at FreeBSD.org> ---
> Sorry about the confusion. The problem with Phonon comes from
> http://riverbankcomputing.co.uk/hg/sip/rev/b96a5e69adb6
> 
> As it can be seen from PyQt's own Phonon bindings, the 
> PyQt4NoQMetaObject
> annotation is now called PyQtNoQMetaObject. Besides
> sip/phonon/backendcapabilities.sip, there's also 
> sip/solid/networking.sip that
> needs to be updated.
> 
> We can't just do what PyQt did and rename the annotation, though, 
> because that
> would break older versions of SIP. I haven't really checked if this is 
> the
> case, but if we really want to maintain compatibility we'd have to 
> check for
> SIP's API level.

A couple of comments...

This annotation is internal (it isn't documented) which is why I wasn't 
bothered when I changed its name. I'm happy to make it official if it is 
*really* needed.

PyQt imposes restrictions on the minimum SIP version required. I don't 
know if PyKDE imposes restrictions on the minimum PyQt version required, 
but it could be that older SIPs can't be used anyway.

Phil


More information about the Kde-bindings mailing list