Skip to content

Instantly share code, notes, and snippets.

@Samad08
Samad08 / qtxml.cpp
Created July 14, 2020 22:36 — forked from lamprosg/qtxml.cpp
Writing and reading XML files with Qt - qxmlstreamwriter and qxmlstreamreader provided classes
//Writing and reading XML files with Qt - qxmlstreamwriter and qxmlstreamreader supported classes
void MyXMLClass::SaveXMLFile()
{
QString filename = QFileDialog::getSaveFileName(this,
tr("Save Xml"), ".",
tr("Xml files (*.xml)"));