[PyKDE] Thread Problem with setCanvas method

Phil Thompson phil at riverbankcomputing.co.uk
Tue Jun 10 22:13:01 BST 2003


On Tuesday 10 June 2003 7:37 pm, Miller, Douglas wrote:
> No matter whether I use the Python API or the Qt API for threading, I get
> an error when calling methed setCanvas(None) from a thread other than the
> main. The error is: 'pure virtual method called'.  Then the script aborts.
> I use setCanvas(None) because it is the only way to make canvas objects
> destruct.
>
> I'm using Qt 3.0.3, PyQt/SIP 3.4.
>
> Thanks for any help!

A small but complete example script would help.

Phil




More information about the PyQt mailing list