[PyQt] Potential API break in PyQt4 snapshot

Davide Pesavento pesa at gentoo.org
Wed Jun 1 00:18:42 BST 2016

On Mon, May 30, 2016 at 9:25 PM, Davide Pesavento <pesa at gentoo.org> wrote:
> A Gentoo Linux user has encountered a compilation failure while
> building KDE4's kate editor (version 4.14.3) against the latest PyQt4
> snapshot (version 4.12.dev1605051544).
> Is this an unintentional API change in PyQt4, or is kate using
> undocumented/private APIs? Or something else?

So, the following code from qobject.sip is new in PyQt4-4.12.dev

        #if defined(SIP_PROTECTED_IS_PUBLIC)
            (sipSelfWasArg ? sipCpp->QObject::connectNotify(sig) :

The compiler complains about sipProtectVirt_connectNotify, which means
SIP_PROTECTED_IS_PUBLIC is *not* defined. This is consistent with the
fact that sip is invoked without the -P option to generate kate

Does this ring any bells?


More information about the PyQt mailing list