I noticed that QXmlQuery always adds an extra line break to the returned value (when evaluating to QString)
The code above produces strange output:Qt Code:
QXmlQuery q; q.setQuery("'aaa'"); if (q.isValid() && q.evaluateTo(&s)) { s.append("b"); qDebug()<<s<<endl; }To copy to clipboard, switch view to plain text mode
instead of expected "aaab".
Is that a bug or am I doing something wrong?
Bookmarks