Results 1 to 2 of 2

Thread: How to read a file using QDataStream's readBytes() function?

  1. #1
    Join Date
    Oct 2006
    Posts
    7
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Unhappy How to read a file using QDataStream's readBytes() function?

    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

  2. #2
    Join Date
    Jan 2006
    Location
    Alingsås, Sweden
    Posts
    437
    Thanks
    3
    Thanked 39 Times in 39 Posts
    Qt products
    Qt3 Qt4
    Platforms
    Unix/X11 Windows

    Default Re: How to read a file using QDataStream's readBytes() function?

    This article shows you how to write an image reader plugin for Qt: http://doc.trolltech.com/qq/qq17-imageio.html .

  3. The following user says thank you to e8johan for this useful post:

    miaoliang (16th October 2006)

Similar Threads

  1. use qpsql
    By raphaelf in forum Installation and Deployment
    Replies: 34
    Last Post: 22nd August 2006, 12:52
  2. How to read line from file
    By Krishnacins in forum Newbie
    Replies: 10
    Last Post: 1st June 2006, 23:14
  3. Replies: 13
    Last Post: 1st June 2006, 14:01
  4. I got two problems when I used static compiled library of QT4
    By qintm in forum Installation and Deployment
    Replies: 8
    Last Post: 20th April 2006, 08:52
  5. use libs under qt4
    By raphaelf in forum Qt Programming
    Replies: 6
    Last Post: 27th February 2006, 17:59

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.