looks like ~QwtPlotItem() is implemented in cpp file.. I don't know what is wrong..
here is the source file: http://qwt.sourceforge.net/qwt__plot__item_8h-source.html 2010/12/29 机械唯物主义 : linjunhalida <[email protected]>: > 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
