You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In various examples, a deprecated QgsField constructor (using QVariant) is used. The examples should be updated to used the non deprecated QgsField constructor (using QMetaType), instead.
Probably other constructors / functions should be updated to use QMetaType.
Description
In various examples, a deprecated QgsField constructor (using QVariant) is used. The examples should be updated to used the non deprecated QgsField constructor (using QMetaType), instead.
Probably other constructors / functions should be updated to use QMetaType.
See qgis/QGIS#57272.
Page URL:
e.g. https://docs.qgis.org/3.34/en/docs/pyqgis_developer_cookbook/vector.html#creating-vector-layers
The text was updated successfully, but these errors were encountered: