<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font size="-1"><font face="Verdana">Dear all, <br>
<br>
I am raising this again....<br>
<br>
Now that we can build QGIS with Qt5, Python 3, PyQt5, an open
question remains: how do plugins will handle with this?<br>
Starting a QGIS built with PyQt5 using enabled plugins will
probably report a lot of Python crashes.<br>
<br>
</font></font><font size="-1"><font face="Verdana"><font size="-1"><font
face="Verdana">Right now, there is an option to port plugins
when building QGIS.<br>
This solution is fine at the moment although it requires a
rebuild every time you install a new plugin.<br>
<br>
But later on, whenever QGIS 3 arises, it would be perfect to
offer a way to plugins to support both 2.x and 3.x, or not?<br>
<br>
</font></font>I believe plugins should tell if they handle
python2/pyqt4 or python3/pyqt5 or both (probably using qgis.PyQt
package).<br>
If we choose this path, it should be included in next QGIS
release.<br>
I started a PR on this topic [0] but it only propose to the
plugin to say if they support Python3/PyQt5 and assumes that it
can support only one. This would need to be updated so plugins
could support both.<br>
<br>
What do you think?<br>
Should we stick to the port-plugins and offer nothing else? <br>
<br>
Cheers,<br>
<br>
Denis<br>
<br>
<br>
<br>
<br>
[0] <a class="moz-txt-link-freetext" href="https://github.com/qgis/QGIS/pull/2911">https://github.com/qgis/QGIS/pull/2911</a><br>
<br>
<br>
</font></font>
</body>
</html>