Hi everyone
I have a method that returns a pointer to a QLinkedList<MyPoint>
where MyPoint is a simple custom class.
the method signature in c++ is the following:
******************************************
typedef QLinkedList<MyPoint> PointList;
PointList* extractFeatures();
******************************************
In the .sip file, the code above is exactly the same. And I have an
%Import QtCore/QtCoremod.sip at the top
When I compile the code. SIP gives the following error:
************************************************************
sip: MyClass::extractFeatures() unsupported function return type -
provide %MethodCode and a C++ signature
************************************************************
Then I removed the typedef and placed the QLinkedList<MyPoint> directly
in the method signature, but this had the same result.
Why is this happening?
Previously I used just a normal QList instead of QLinkedList and it
worked fine.
Thanks
James
_______________________________________________
PyQt mailing list PyQt@riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/pyqt