[PyQt] SIP syntax error with enum or namespace

Mark A. Schmucker masc at rincon.com
Wed Sep 17 00:53:53 BST 2008


According to the SIP doc, 6.1 Syntax Definition, a "class-statement" can be
a class, enum, namespace, or a few other things. I can successfully specify
a class, but not an enum or namespace. 
 
These are OK:
%Include my.sip
%Import myother.sip
class MyClass;
 
These fail with "syntax error" when I run sip:
enum MyEnum;
namespace MyNamespace;
 
In all cases, the specified name does exist, although I don't think that
even matters since it's failing early with a syntax error.
 
Thank you for any ideas.
 
Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20080917/17ca23ae/attachment.html


More information about the PyQt mailing list