[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.
Hugo
> The following is a sample code:
>
> while some_condition:
>
> app = QApplication(sys.argv)
>
>
>
> some_actions
>
> > 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...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.qt-project.org/pipermail/pyside/attachments/20121024/f9f2eeb5/attachment.sig>
More information about the PySide
mailing list