Hi, QGIS API says that QgsField.alias|setAlias() has been added in QGIS 3.0 [1]. But these methods are available also in QGIS 2.18 [2].
Ma [1] http://qgis.org/api/classQgsField.html#a220a2b668fae5c4e6eab8604d9252923 [2] https://github.com/qgis/QGIS/blob/release-2_18/src/core/qgsfield.h#L189 -- Martin Landa http://geo.fsv.cvut.cz/gwiki/Landa http://gismentors.cz/mentors/landa _______________________________________________ Qgis-developer mailing list [email protected] List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer
