[PyQt] Another connect problem

Thomas Olsen tanghus at gmail.com
Thu Oct 1 20:38:00 BST 2009

On Thursday 01 October 2009 20:56:17 Jason H wrote:
> The C++ code uses new to create an object on the heap, which you must
>  delete later In python if nothing references the object, it is destroyed.
>  So as soon as __init__ is done, job goes *poof* You need to maintain a
>  reference to it by using self.job = ... so that way the class keeps the
>  job instance around.
I can see that. Tried it and it made no difference. Thanks for the effort 

Best Regards / Med venlig hilsen

  Thomas Olsen

More information about the PyQt mailing list