PDA

View Full Version : QIODevice



sabeesh
26th September 2007, 07:17
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............................

wysota
26th September 2007, 10:01
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).