There are several classes in Qt for working with XML data. In this section, we will look at them and try to assess their respective performance.
Parsing XML and JSON at the speed of light
QtXml classes
We will start out with an overview of classes that are contained in the QtXml module, because this is the module that was traditionally used to process XML data.
Right from the start, the Qt documentation states:
The module is not actively maintained anymore. Please use theQXmlStreamReader
andQXmlStreamWriter
classes in Qt Core instead.You might think that this module is deprecated, but it isn't. It's simply been left as is and isn't changed anymore.