SIP - additional argument in constructor - derived class

Marian Thomsen marian.th at outlook.de
Tue Mar 9 13:44:13 GMT 2021


Hello,

when I have an additional argument in a constructor of a derived class (this argument does not exist in my c++ base class) and try to translate this class with SIP v6.0.2 I get:

ctor argument 1 has an unsupported type for a Python signature - provide a valid type, %MethodCode and a C++ signature

How do I solve this with %MethodCode?
Or is there another work-around?

Thank you!

M.T.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20210309/0ef2c313/attachment.htm>


More information about the PyQt mailing list