On Tuesday 13 September 2011 11:31:28 yinhm wrote: > hi, all, > > I'v been porting QWT6 to PySide. > > I'v got templates class working(sort of, thanks hugopl point out I > need to create > typedefs for all template instantiation). > > Unfortunately, this need to patch QWT sources, here is the patch > against qwt trunk/@1092: > https://github.com/yinhm/pysideqwt/blob/master/qwt6-typedefed-templates.pat > ch > > Can I bind these instantiation without patching qwt?
You can put the typedefs on your global header, the header you use to include all headers of classes that you will bind. > There are still problems of the binding of template instantiations. > Seems apiextractor can not detect parent class methods for template > instantiations. > > eg: QwtPlotCurve has no method name: attach(QwtPlot *), I have to add > it manually. QwtPlot is a template class? if so, I guess Marcelo fixed this problem some days/weeks ago. > > With my tiny knowledge of C++ and PySide, I'v been stuck on there > questions. Please help me > to accomplish it. -- Hugo Parente Lima INdT - Instituto Nokia de Tecnologia
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ PySide mailing list PySide@lists.pyside.org http://lists.pyside.org/listinfo/pyside