[PyQt] Simple QGV crash

Jason H scorp1us at yahoo.com
Tue Dec 22 18:56:04 GMT 2009


Well I got SIP 12/19 and PyQt 12/20 snapshots.
started up the Qt command prompt (QTDir=c:\qt\2009.05\qt, makespec=win32-g++)
sip\configure.py  -p win32-g++
sip\ming32-make 
sip\ming32-make install
pyqt\configure.py  -p win32-g++
pyqt\ming32-make 
pyqt\ming32-make install

Using python25, had a working PyQt snapshot previously. (12/09 i think)




----- Original Message ----
From: Phil Thompson <phil at riverbankcomputing.com>
To: Jason H <scorp1us at yahoo.com>
Cc: pyqt at riverbankcomputing.com
Sent: Tue, December 22, 2009 11:54:30 AM
Subject: Re: [PyQt] Simple QGV crash

On Mon, 21 Dec 2009 18:18:11 -0800 (PST), Jason H <scorp1us at yahoo.com>
wrote:
> This used to work, but my latest sip&pyqt snapshots crashes.

Which would they be?

> import sys
> from PyQt4.QtCore import *
> from PyQt4.QtGui import *
> 
> class Main(QGraphicsView):
>     def __init__(self,  parent=None):
>         QGraphicsView.__init__(self, parent)
>         pass
>    
> if __name__=="__main__":
>     a = QApplication(sys.argv)
>     m= QGraphicsView()
>     m.show()
>     a.exec_()

Works fine for me.

Phil



      



More information about the PyQt mailing list