[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] Potential API break in PyQt4 snapshot
From:       Davide Pesavento <pesa () gentoo ! org>
Date:       2016-05-31 23:18:42
Message-ID: CADfzvva_gEA-Y8Sq2xMijQ=upOwMdjTBX2b57OQd+DQ52GYDtA () mail ! gmail ! com
[Download RAW message or body]

On Mon, May 30, 2016 at 9:25 PM, Davide Pesavento <pesa@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) :
sipCpp->connectNotify(sig));
        #else
            sipCpp->sipProtectVirt_connectNotify(sig);
        #endif

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
bindings.

Does this ring any bells?

Thanks,
Davide
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic