Add support to QGIS 3 and above versions
