On Thu, 2010-07-01 at 03:17 +0200, Robin Wittler wrote:
> take a look at
> http://www.riverbankcomputing.co.uk/static/Docs/PyQt4
> /html/qapplication.html#QApplication-2
>
>
> QApplication.__init__ (self, list-of-str argv, bool GUIenabled)
>
> Constructs an application object with argc command line arguments in
> argv. If GUIenabled is true, a GUI application is constructed, otherwise
> a non-GUI (console) application is created.
Thanks for that.
The only change I made was to end up using
QtCore.QCoreApplication(sys.argv) instead as it implies a console
application and doesn't require importing QtGui.
Cheers
Steve
_______________________________________________
PyQt mailing list [email protected]
http://www.riverbankcomputing.com/mailman/listinfo/pyqt