Image gui with Qt
-
Depends on what exactly you want to do!
If all you want is showing some images on the GUI you certainly don't need OpenCV ;-)
From the docs:
bq. Qt provides four classes for handling image data: QImage, QPixmap, QBitmap and QPicture. QImage is designed and optimized for I/O, and for direct pixel access and manipulation, while QPixmap is designed and optimized for showing images on screen. QBitmap is only a convenience class that inherits QPixmap, ensuring a depth of 1. The isQBitmap() function returns true if a QPixmap object is really a bitmap, otherwise returns false. Finally, the QPicture class is a paint device that records and replays QPainter commands.
Also there are QImageIOPlugin's for pretty much any relevant image format (JPEG, PNG, GIF, SVG, TIFF, etc).
-
You say you are new to Qt, but have you at least looked at the Qt documentation ???
You find it "online":http://qt-project.org/doc/qt-4.8/ or via Qt Assistant program ;-)
-
Probably depends on how you access the web-cam. I'm not aware of any Qt class that can do this directly. I guess on Windows you'd do that via DirectShow, on Linux via something like GStreamer. But as soon as you have queried the image data from the cam, you surely can present it on the screen via QPixmap.