[PyQt] QtXml support in PyQt5

Matthias Kuhn matthias.kuhn at gmx.ch
Thu Dec 4 08:53:44 GMT 2014


On the page for differences between PyQt4 and PyQt5 it says that
"PyQt4’s QtXml module is not supported. Use either the QXMLStreamReader
and QXMLStreamWriter classes or Python’s standard XML modules." [1]
This is in line with the recommendation on the Qt5 QtXml documentation
[1] and the goal to remove deprecated Qt functionality.
Issue report 32926 [2] for Qt indicates however, that this module is not
deprecated but considered done and not going to disappear. Do you have
different information regarding this?
We use the QtXml classes extensively in our API and rewriting the
affected parts would involve a considerable amount of work.

Thank you

[1] http://qt-project.org/doc/qt-5/qtxml-module.html#details
[2] https://bugreports.qt-project.org/browse/QTBUG-32926

More information about the PyQt mailing list