[PyQt] QApplication was not created in the main()
alan.ezust at gmail.com
Sat Jul 26 18:35:27 BST 2014
You are only supposed to create one QApplication, and that should be main.
Why do you want to create a second one somewhere else? That is probably a
You can use the "qApp" variable which is from PyQt5.QtCore to refer to this
singleton from other places.
On Sat, Jul 26, 2014 at 5:09 AM, Gelonida N <gelonida at gmail.com> wrote:
> I wanted to better understand the exact impact of this warning and whether
> this warning has any impact if my code has to run on windows /Linux only.
> thanks in advance for any enlightment.
> PyQt mailing list PyQt at riverbankcomputing.com
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the PyQt