[PyKDE] pyqt and new-style classes

Fredrik Juhlin laz at strakt.com
Sat Feb 14 16:13:01 GMT 2004


Stefan Seefeld wrote:

> hi there,
>
> I'v tried to write python classes that derive
> from pyqt classes and 'object' (or any derivative
> thereof), which immediately segfaults the application
> as soon as such an object is constructed. Is there
> any flag to set when compiling sip and or pyqt to
> enable new-style classes ?

SIP 3.* doesn't support new-style classes. SIP 4 will, however.

//Fredrik




More information about the PyQt mailing list