[PyQt] Bug with latest PyQt4 (4.7.6)

Alexander Nestorov alexandernst at gmail.com
Sat Sep 11 13:04:59 BST 2010


I wrote a small test/example to show the bug. Here it is:

##############################################
from PyQt4 import *
from PyQt4.QtCore import *
from PyQt4.QtGui import *

print PyQt4.QtCore.PYQT_VERSION_STR

app = QApplication([""])
app.setGraphicsSystem("raster")
##############################################

This will print '4.7.6' and then will crash with error:
AttributeError: 'QApplication' object has no attribute 'setGraphicsSystem'

This same script runs perfectly with 4.7.4
Is that a bug in PyQt4? If "yes", how can I fix that? Or when it will be
fixed?

Regads

-- 
Alexander Nest
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20100911/5e7de37e/attachment.html>


More information about the PyQt mailing list