On Monday 08 January 2007 03:52, Steven James Samuel Stapleton wrote:
> RuntimeError: Underlying C/C++ object has been deleted
>
> What could cause this?
Exactly what is telling you, the object has been deleted ;)

Try saving the object before using it.
self.label = qt.QLabel() would work.
label = qt.QLabel() does not work since that's a local function, after the 
function has finished it will be deleted by the garbage collector.

-- 
Rick van Hattem Rick.van.Hattem(at)Fawo.nl

Attachment: pgpqkxenCyRbS.pgp
Description: PGP signature

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

Reply via email to