[PyQt] Unable to connect QGraphicsScene.changed signal

Evgeny Prilepin esp.home at gmail.com
Sat Jan 14 08:56:49 GMT 2017

Hi all,

I'm trying to use PyQt5 5.7.1 release (and SIP 4.19) from PyPI on 
Windows and I'm getting an error when connecting QGraphicsScene.changed 

TypeError: C++ type 'QList<QRectF>' is not supported as a signal 
argument type

For example, this code does not work:

from PyQt5 import QtWidgets

app = QtWidgets.QApplication(sys.argv)
scene = QtWidgets.QGraphicsScene()

def my_slot(data):

scene.changed.connect(my_slot)  # There is an error

I tried 5.7.0 and SIP 4.18 release and it is works fine. I think there 
is a bug in 5.7.1 release.


More information about the PyQt mailing list