QPaintDevice: Must construct a QApplication before a QPaintDevice

boris.smirnov at gmail.com boris.smirnov at gmail.com
Tue Feb 27 05:52:42 EST 2007


On Feb 27, 11:46 am, "Diez B. Roggisch" <d... at nospam.web.de> wrote:
> boris.smir... at gmail.com wrote:
> > Hi all,
>
> > I have a python script that works without any problem on Windows but
> > with error:
>
> > QPaintDevice: Must construct a QApplication before a QPaintDevice
>
> > on Linux.
>
> > Where could be the problem?
>
> This is the problem:
>
> You Must construct a QApplication before a QPaintDevice
>
> Diez

Yes that I can deduce, but why I'm asking is why it's different on
Windows and Linux. Should it not be platform independent?




More information about the Python-list mailing list