<p dir="ltr">What do we get if not PyQtNullVariant?</p>
<br><div class="gmail_quote"><div dir="ltr">On Wed, 4 May 2016 7:01 pm Matthias Kuhn <<a href="mailto:matthias@opengis.ch">matthias@opengis.ch</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I have just published a post with the state of Python 3 and Qt 5 migration.<br>
<a href="http://www.opengis.ch/2016/05/04/qgis-qt5-and-python3-migration-current-state/" rel="noreferrer" target="_blank">http://www.opengis.ch/2016/05/04/qgis-qt5-and-python3-migration-current-state/</a><br>
<br>
In general I am very happy with what we have achieved so far.<br>
<br>
There is one problem that I think needs broader discussion which is an<br>
issue about the handling of NULL values in PyQt5. With the equivalent to<br>
the SIP API V2 we don't have PyQtNullVariant up to PyQt 5.6. This<br>
basically means, no NULL for python plugins. And I consider this a blocker.<br>
<br>
We could<br>
<br>
 * Switch to another API (sip.enableautoconversion(false), similar to<br>
SIP API V1). Resulting in countless lines of code in plugins requiring<br>
to be updated.<br>
 * Bump the minimum Qt version to 5.7 (and hope that PyQtNullVariant<br>
will be fixed there, chances are good, see<br>
<a href="https://www.riverbankcomputing.com/pipermail/pyqt/2016-April/037336.html" rel="noreferrer" target="_blank">https://www.riverbankcomputing.com/pipermail/pyqt/2016-April/037336.html</a>).<br>
<br>
I tend towards Qt >= 5.7 - on Windows and Mac we control the<br>
dependencies, so that should be ok anyway, on Linux we can say "if you<br>
want a recent QGIS, get a recent distro". And by the time we actually<br>
ship QGIS with a Qt5 dependency there should be a number of distros with<br>
Qt 5.7.<br>
<br>
Any opinion on this?<br>
Matthias<br>
_______________________________________________<br>
Qgis-developer mailing list<br>
<a href="mailto:Qgis-developer@lists.osgeo.org" target="_blank">Qgis-developer@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>