Hi guys,
lḿ writing few rows of code to edit XML like this:
So i google it, then l tought that, this should write xml (loaded by qresource):Code:
<?xml version="1.0" encoding="UTF-8"?> <data> <fam_number>123</fam_number> </data>
But l get SEG FAILED and FAILED to open.Code:
QDomDocument doc; doc.appendChild (xmlroot); fam->setText (family_number); qDebug () << "Fail"; stream << doc.toString (); file.close ();
Can you please help me ? Thanks
