SIP - additional argument in constructor - derived class

Marian Thomsen at
Tue Mar 9 13:44:13 GMT 2021


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!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the PyQt mailing list