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

Jon jjhome at fire-bug.co.uk
Sat Jan 26 13:22:56 GMT 2002


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 

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 ?

Mandrake 8.1
Linux 2.4.9
KDE 2.2.1
Qt 3.0.1
Python 2.2


More information about the PyQt mailing list