Quote Originally Posted by lni View Post
Not sure if you are supposed to derive a class from QXmlStreamReader. None of the methods in QXmlStreamReader are virtual, not even the destructor...
It doesn't matter as typically you are subclassing QXmlStreamReader to make your own reader supposed to read your own specific XML files, ao you add some methods which use QXmlStreamReader's methods.

What happens when you close() and open() file again?
What about saving file data to QByteArray (with readAll()) and use parser on it instead of on file?

I'm just guessing :]