[Qgis-developer] QtXml is no longer maintained in Qt5

Matthias Kuhn matthias.kuhn at gmx.ch
Fri Dec 5 01:55:34 PST 2014


Hi all,

I'm happy to inform you that Phil (main PyQt maintainer) just announced
that QtXml is going to be reincluded in the PyQt5 bindings.
You may therefore happily continue to use QDomDocument and friends as
much as you like and ignore my original request.

Sorry for the noise
Matthias


On 12/03/2014 04:12 PM, Matthias Kuhn wrote:
> Hi,
>
> As of Qt5, QtXml is no longer actively maintained [1]
> PyQt5 does not even support it.
>
> It will be a reasonably big undertaking to migrate any occurrence of
> QDomDocument etc. to QXMLStreamWriter and QXMLStreamReader (our whole
> project saving and loading engine is based on this). And when we do this
> we will likely have to increase the major version number of QGIS.
>
> In order not to introduce more work, please consider using
> QXMLStreamWriter and QXMLStreamReader for new code you write that
> involves parsing or producing XML. That does not concern working on code
> that is based on code that is currently based on QtXml methods.
>
> Thank you,
> Matthias
>
> [1] http://qt-project.org/doc/qt-5/qtxml-module.html#details
>
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-developer



More information about the Qgis-developer mailing list