[QGIS-Developer] The correct import Qt5 in plugins
Xavier Corredor Llano
xavier.corredor.llano at gmail.com
Thu Feb 7 09:53:47 PST 2019
Hi all!
I have a question, I'm developing some Qgis3 plugins, I see that Qgis has some
"links" to the Qt library, like as:
from qgis.PyQt import uic
from qgis.PyQt import QtWidgets
But, normally it is:
from PyQt5 import uic
from PyQt5 import QtWidgets
Both works well, but:
What is the difference and what is the recommended one?
Thanks
Best regards,
Xavier Corredor Ll.
More information about the QGIS-Developer
mailing list