Re: [PyQt] SIP fails with "syntax error" on simple class inheritance

2012-04-30 Thread tuxor1337
Thanks for your quick response! What version of SIP are you using? Assuming it's older than v4.13.1 then you need to remove the "public" (as it says in the documentation for your version). Yes, you are right. I'm using 4.12.2, so next time I'm going to refer to the documentation provided with

Re: [PyQt] SIP fails with "syntax error" on simple class inheritance

2012-04-30 Thread Phil Thompson
On Mon, 30 Apr 2012 12:27:03 +0200, tuxor1...@web.de wrote: > Why does the attached sip-file always fail to be "sipped" with the > following error message: > > sip: my_dialog.sip:15: syntax error > > (line 15 is "class MyDialog : public QDialog {") > > I tried to use a configure.py or directly

[PyQt] SIP fails with "syntax error" on simple class inheritance

2012-04-30 Thread tuxor1337
Why does the attached sip-file always fail to be "sipped" with the following error message: sip: my_dialog.sip:15: syntax error (line 15 is "class MyDialog : public QDialog {") I tried to use a configure.py or directly call sip command line, but it always fails with the same error message.