On 21.12.2010 18:12, ext Hugo Parente Lima wrote:
QWidget: Must construct a QApplication before a QPaintDevice
and exits python process with error code 1.
This assertion is inside Qt code and if you construct a application this way
it's broken by design and shouldn't work at all, so there's not much difference
in throwing an exception and let Qt finish the process in your use case.
I think in principle it'd still be very much preferable to get Python
exceptions so that you'd be able to exit in a controlled manner (if you
really wanted to). But obviously, in this case, it's just not possible.
ma.
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside