Hi, Do anyone know why this instruction gets an runtime error and a console error like as
QFile::getch: Read operation not permitted ? Thanks
QString plainText = xstrm.read();
To copy to clipboard, switch view to plain text mode
I need to do this below but I've got some problems....
QString plainText
= xstrm.
readline();
//cout << "plainText " << plainText << endl;
QDomText t1
= doc.
createTextNode(plainText
);
tag1.appendChild(t1);
QString plainText = xstrm.readline();
//cout << "plainText " << plainText << endl;
QDomText t1 = doc.createTextNode(plainText);
tag1.appendChild(t1);
To copy to clipboard, switch view to plain text mode
If I use .readline() seem works but the text inside TAG (in the file) appear null (string null). Why? However I need to read entire stream and not a line...
Bookmarks