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 my source tarball. There it's mentioned 
in the chapter "Using SIP".
But to be honest, I'm still a bit puzzled by the usage of SIP. For 
example, where do I learn what to do with such an excerpt from a header 
file:
enum WaitMode {
  WAIT_NONE           = 0,
  WAIT_BEFORE_UPDATE  = 0x01,
  WAIT_COMMAND_FINISH = 0x02,
  WAIT_NORMAL         = WAIT_BEFORE_UPDATE,
  WAIT_ALL            = WAIT_BEFORE_UPDATE | WAIT_COMMAND_FINISH
};

SIP will complain about the "WAIT_ALL" line ("syntax error"). Is this due to the "|" operator or what's the problem here? And where in the documentation would I find an appropriate answer to this?
_______________________________________________
PyQt mailing list    PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt

Reply via email to