[PySide] initialize and delete QApplication instances many times
Hugo Parente Lima
hugo.lima at openbossa.org
Wed Oct 24 15:48:19 CEST 2012
On Wednesday, October 24, 2012 07:32:09 PM flyer wrote:
> Is it possible to initialize and delete QApplication instances many times?
No, IIRC isn't.
> The following is a sample code:
> while some_condition:
> app = QApplication(sys.argv)
> > del app
> I tried, but it seemed impossible.
> If I want to initialize and delete QApplication instances many times in a
> single file, how can I do that?
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 198 bytes
Desc: This is a digitally signed message part.
More information about the PySide