[Qgis-developer] QT5 signals/slots in QGIS3

Enrico Ferreguti enricofer at gmail.com
Wed Mar 1 01:35:01 PST 2017


I am migrating a plugin to QGIS3 and under Windows with the latest qgis-dev
release(build 1182816) I get an error connecting to well know
QgsVectorLayer signals:

vectorlayer.committedAttributesAdded.connect(self.attributes_added)
or
vectorlayer.committedFeaturesAdded.connect(self.attributes_added)

give:

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

I give a look to PyQT5 signal/slot model and I haven't found something
different from PyQT4 so don't understand if this is a bug or a new QGIS3
signal behaviour...

Is there somewhere a raw class/methods changes list from QGIS2 to QGIS3?

Best Regards and thanks to all for the wonderful work!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20170301/aaa69afb/attachment-0001.html>


More information about the Qgis-developer mailing list