Hi,
I am new to Qt.
I want to know sample running working code for reading and writing XML file using qt?
Can you please send all header files and source files along with .pro project file?
xml should be like generating 1,2,3,4,5 numbers..
Printable View
Hi,
I am new to Qt.
I want to know sample running working code for reading and writing XML file using qt?
Can you please send all header files and source files along with .pro project file?
xml should be like generating 1,2,3,4,5 numbers..
There are lot of examples with qt installation, some dedicated to xml. also you can search in the web. Any way, first of all you need to add xml to pro file: QT += xml.
These:
#include <QtXml>
#include <QDomDocument>
have to be enough to start working with xml. See their documentations there are useful hints to start.
Good place to start XML Examples