[Kde-bindings] twine2 (PyKDE5 code generator) parsing issues

Scott Kitterman kde at kitterman.com
Sat Apr 18 16:27:46 UTC 2015


On Friday, April 17, 2015 09:24:13 PM Luca wrote:
> Hello Scott,
> I did some tests and I was able to build easily kconfig.
> 
> The KCOREADDONS_DEPRECATED must be added to the qtkde5macros script. I
> attached a patch I created, so you have an idea what I did.

Thanks.  I committed your patch and extended it to cover this case as well.

> For the other errors are very specific.
> I found for instance that pointer are not handled correctly, and throw an
> error.
> 
> Also this line is problematic:
> typedef void (QObject::* NotifyFunction)(quint64 arg);
> 
> Seems also that also this line is not handled:
> #ifndef KDE_NO_DEPRECATED
> I looked in pplexer.py but seems that the #ifndef definition is managed,
> don't know why this generates an error.
> 
> You are working on the official repository?
> I'm personally testing locally, I need this lib to port our SW to kf5 on
> Chakra linux.

Do you think these are problems in Sip, PyQt5, Qt, or Kf5?

Scott K


More information about the Kde-bindings mailing list