[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    Re: [PyQt] SIP fails with "syntax error" on simple class inheritance
From:       tuxor1337 () web ! de
Date:       2012-04-30 10:49:41
Message-ID: 4F9E6E45.9080702 () web ! de
[Download RAW message or body]

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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic