[Qgis-developer] QT5 signals/slots in QGIS3

Enrico Ferreguti enricofer at gmail.com
Thu Mar 2 05:49:07 PST 2017


Hi, all

I don't see answer about this. Should I open a issue ticket?

Best Regards

2017-03-01 10:35 GMT+01:00 Enrico Ferreguti <enricofer at gmail.com>:

> 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/20170302/8e8462ae/attachment.html>


More information about the Qgis-developer mailing list