Hello, I'm creating pyside-qwt binding, here is the project:
http://gitorious.org/pysideqwt#more

I'm new in shiboken, and everything is fine.... at first.

here is the issue: QwtPlotItem is a virtual Class like this:

class QWT_EXPORT QwtPlotItem: public QwtLegendItemManager
{
     explicit QwtPlotItem(const QwtText &title = QwtText());
     virtual ~QwtPlotItem();
     ....
}

after I create PySideQwt.so, I run this python code:

class MyItem(QwtPlotItem):
    pass

and I got :

TypeError: Error when calling the metaclass bases
    type 'PySideQwt.QwtPlotItem' is not an acceptable base type

sould I create a ~QwtPlotItem(){} ?
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to