[PyKDE] Error generated when wrapping a class derived from QCanvasView

Phil Thompson phil at river-bank.demon.co.uk
Sat Jan 26 14:59:20 GMT 2002


Jon wrote:
> 
> Hello
> 
> If I create a small test c++ class for SIP wrapping, derived from
> QCanvasView. I get the following error when importing the extension module
> into Python.
> 
> undefined symbol: sipCast_QCanvasView__FPCvP7_object
> 
> If I change the class so that its derived from QScrollView the error goes
> away.
> 
> I have done nm libqtcanvascmodule-3.0.so and both the QCanvasView and
> QScrollView symbols are listed.
> 
> Does anybody have an idea what could be wrong ?

Are you linking against libqtcanvascmodule?

Phil




More information about the PyQt mailing list