Hi Xavier, better to use
from qgis.PyQt import uic so it is QGIS directly that handles the correct PyQt version to import Cheers Matteo _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer