Replying to myself: I found some kind of workaround: I created a parameter-less version of my stateChanged signal. This way the generated code builds correctly. Thanks for your help, Aurélien