[Development] Qt XML and Qt Xml Patterns

Kevin Kofler kevin.kofler at chello.at
Tue May 21 04:35:03 CEST 2019


Thiago Macieira wrote:
> The replacement for QtXml are the streaming classes in QtCore. They've
> been available for 10 years.

But those are no replacement for the QDom* DOM API. They are also not 
idiomatic SAX, by design. Both those limitations make them an insufficient 
replacement for QtXml even for new code, let alone all the existing legacy 
code.

Looking around (e.g., in KDE projects and/or related third-party Free 
Software projects), you will find QtXml still widely used, probably even 
more widely than the newer QtCore XML streaming API (depending on your 
sample).

        Kevin Kofler



More information about the Development mailing list