[PyQt] Unable to connect QGraphicsScene.changed signal
phil at riverbankcomputing.com
Sat Jan 14 11:24:44 GMT 2017
On 14 Jan 2017, at 8:56 am, Evgeny Prilepin <esp.home at gmail.com> wrote:
> 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 signal:
> 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.
I think it's fixed in the current snapshots. There will be a new release soon.
More information about the PyQt