hi, all,
I have a string which is the xml structure. and I want to parse it by QXmlStreamReader,
but the QXmlStreamReader want the QIODevice as it's parametre, but I only have the string, so How do I convert the string to QIODevice ,is it use the
QBuffer buff(& myString.toUTF8),
or QTextStream textStream(&myString) and then textStream.device(),
both ways seems don't work , any help ,thanks very much!
Bookmarks