[PyQt] Simple QGV crash

Jason H scorp1us at yahoo.com
Tue Dec 22 02:18:11 GMT 2009


This used to work, but my latest sip&pyqt snapshots crashes.


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_()



      



More information about the PyQt mailing list