[PyQt] QList Specialization Class SIP Error
James Meyer
jamesm at lantic.net
Sat Oct 16 18:40:02 BST 2010
Hi
I have a C++ class that extends QList, or more specifically QList<Point>
where Point is one of our custom classes.
SIP gives me a syntax error as soon as I add the template parameter to
the inheritance.
In C++:
class PointList : public QList<Point> {
...
};
In SIP:
class PointList : QList<Point> {
%TypeHeaderCode
#include <PointList.h>
%End
...
};
How am I suppose to specify this inheritance in the SIP file?
Thanks
James
More information about the PyQt
mailing list