I'm trying to use a subclassed QIODevice for parsing XML with QXMLStreamreader, 
but no matter what I do, the data is not read. 

The docs say:

> Subclasses of QIODevice are only required to implement 
> the protected readData() and writeData() functions.

But no matter what I do, the code in my ReadData function is not executed. I 
also tried overriding basically all virtual functions, but none of them get 
called. 

I wrote some test code using QTextStream with my custom QIODevice, which works 
perfectly.

I use QXMLStreamReader::readNext() to read through the buffer, so how does it 
read from the QIODevice?

Regards,

Wiebe
_______________________________________________
Interest mailing list
Interest@qt-project.org
http://lists.qt-project.org/mailman/listinfo/interest

Reply via email to