What you need, if I understand correctly, is to get access to the viewfinder frames, not to get a captured image. What you need to do therefore is implement a class which inherits from QAbstractVideoSurface, and then do

Qt Code:
  1. m_camera->setViewfinder(m_surface);
To copy to clipboard, switch view to plain text mode 

Where m_surface is an instance of your QAbstractVideoSurface-derived class. Then, once you start the viewfinder, you will receive frames via the QAbstractVideoSurface::present virtual function.

One problem is that, IIRC, the QAbstractVideoSurface overload of QCamera::setViewfinder was added in QtMobility 1.2, so this method will only work if you can upgrade to that version.