[Qt-interest] 'readElementText()' shows "" while 'text()' shows the actual characters at the same point
Anisha Kaul
anisha.kaul at hitechroboticsystemz.com
Tue Dec 21 09:34:53 CET 2010
I hope this pathetic question will be forgiven :redface:
Both the below statements are showings different outputs when replaced
with each other in the code:
qDebug() << objQXmlReader.readElementText ();
Output: ""
qDebug() << objQXmlReader.text ();
Output: 75 /*which is correct and as expected*/
The only difference between them is their return types.
Whats the point that I am missing here?
-------------------------------------
Hi-Tech Gears Limited, Gurgaon, India
More information about the Qt-interest-old
mailing list