View Full Version : How to read a file using QDataStream's readBytes() function?

16th October 2006, 04:01
I am developing a viewer for cgm file(a picture file), I think QDataStream is the best tool, but I have no idea about the using of readBytes function, please tell me:confused:

16th October 2006, 07:25
This article shows you how to write an image reader plugin for Qt: http://doc.trolltech.com/qq/qq17-imageio.html .