Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class MyXmlWriter {
- public:
- MyXmlWriter();
- ~MyXmlWriter();
- QString writeToString();
- private:
- QXmlStreamWriter writer;
- }
- QString MyXmlWriter::writeToString(){
- QString result;
- writer(&result); // at this became the error: no match for call to '(QXmlStreamWriter) (QString*)'
- xmlWriter.setAutoFormatting(true);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement