Results 1 to 2 of 2

Thread: QIODevice

  1. #1
    Join Date
    Jul 2007
    Posts
    166
    Thanks
    25
    Thanked 1 Time in 1 Post
    Qt products
    Qt4
    Platforms
    Unix/X11 Windows

    Default QIODevice

    Hi,
    Can I use QIODevice for connecting my program to my webcam? How can I use it? And how can I connect my program to my webcam and display image in my program?
    Help me please............................

  2. #2
    Join Date
    Jan 2006
    Location
    Warsaw, Poland
    Posts
    33,359
    Thanks
    3
    Thanked 5,015 Times in 4,792 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows Android Maemo/MeeGo
    Wiki edits
    10

    Default Re: QIODevice

    Quote Originally Posted by sabeesh View Post
    Can I use QIODevice for connecting my program to my webcam?
    QIODevice is a pure abstract class, so you can't use it directly. But you can use QFile. If you're running U*ix and your webcam supports reading from /dev/something then it's possible that you can use it this way.

    And how can I connect my program to my webcam and display image in my program?
    That's a completely different question and I think it is beyond the scope of this forum (and in general it depends on both the hardware and software available).

Similar Threads

  1. QIODevice read()
    By ShaChris23 in forum Newbie
    Replies: 1
    Last Post: 3rd May 2007, 00:29
  2. QIODEvice
    By mickey in forum Qt Programming
    Replies: 2
    Last Post: 5th July 2006, 19:00

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.