Wrong number of arguments in sipIsPyMethod

Antonio Rojas arojas at archlinux.org
Sun Dec 10 11:20:33 GMT 2023


Trying to compile krita with 6.8.0 produces multiple errors such as 

/build/krita/src/build/plugins/extensions/pykrita/sip/_tmp/krita/sipkritapart0.cpp:26826:28: error: too few arguments to function
26826 |     sipMeth = sipIsPyMethod(&sipGILState, &sipPyMethods[15], SIP_NULLPTR, sipName_actionEvent);

And indeed is seems sipIsPyMethod expects five argumens

https://www.riverbankcomputing.com/hg/sip/file/adaadc70327c/sipbuild/module/source/13/sip.h.in#l1430

but the generator only provides four:

https://www.riverbankcomputing.com/hg/sip/file/adaadc70327c/sipbuild/generator/outputs/code.py#l3984




More information about the PyQt mailing list