<div>I wrote a small test/example to show the bug. Here it is:<br clear="all"></div><div><br></div><div>##############################################</div><div>from PyQt4 import *<br>from PyQt4.QtCore import *<br>from PyQt4.QtGui import *<br>

<br>print PyQt4.QtCore.PYQT_VERSION_STR<br><br>app = QApplication([""])<br>app.setGraphicsSystem("raster")<br></div><div>##############################################</div><div><br></div><div>This will print '4.7.6' and then will crash with error:</div>

<div>AttributeError: 'QApplication' object has no attribute 'setGraphicsSystem'</div><div><br></div><div>This same script runs perfectly with 4.7.4</div><div>Is that a bug in PyQt4? If "yes", how can I fix that? Or when it will be fixed?</div>

<div><br></div><div>Regads</div><div><br></div>-- <br>Alexander Nest<br>