Analytics

Tuesday, December 14, 2010

Qt Mobility - Note to myself on making QCamera work

Just a small note on Qt Mobility when using GStreamer to capture the image. You will need a QCamera, a QCameraImageCapture. So far so easy. You will also need to call start() but you will also need to create a QCameraViewfinder and set it on the QCamera. If you do not set a view finder, it will not will work. Maybe I will remember this the next time.

1 comment:

Dmytro Poplavskiy said...

camera waits for viewfinder to be ready (usually painted at least once, so graphics capabilities are known) before starting to avoid reinitialization, but when no viewfinder is set at all it should just start.


It worth to fill a bug report.