[PyQt] QtXml support in PyQt5

Phil Thompson phil at riverbankcomputing.com
Fri Dec 5 09:45:12 GMT 2014


On 05/12/2014 12:32 am, michael h wrote:
> On Thu, Dec 4, 2014 at 2:53 AM, Matthias Kuhn <matthias.kuhn at gmx.ch> 
> wrote:
> 
>> Hi,
>> 
>> 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
>> Matthias
>> 
>> [1] http://qt-project.org/doc/qt-5/qtxml-module.html#details
>> [2] https://bugreports.qt-project.org/browse/QTBUG-32926
>> 
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
> 
> 
> 
> Just to chime in:
> 
> I was needing QtXml as well for wrapping poppler-qt5 which makes use of 
> it.

I'm happy to add it as it seems that the deprecation was a documentation 
bug.

Phil


More information about the PyQt mailing list