I discovered that my problem of using threads and the setCanvas method
discribed below was due to the main thread calling canvas advance while I
was trying to delete in the child thread.  Is there away around disabling
the advance during setCanvas(None)?  I would prefer that animation not be
interrupted. 

-----Original Message-----
From: Miller, Douglas
To: '[EMAIL PROTECTED]'
Sent: 6/10/03 2:37 PM
Subject: Thread Problem with setCanvas method

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!

_______________________________________________
PyKDE mailing list    [EMAIL PROTECTED]
http://mats.imk.fraunhofer.de/mailman/listinfo/pykde

Reply via email to