I have a problem for which I cannot find a solution. I’m using QCamera class (Qt Mobility 1.1) and I need to get access to the video frames(e.g. QVideoFrame) provided by the camera in N900. I need to do some image processing to the frames before they are shown in for example QVideoWidget. How can I do that?

I have tried the method illustrated in http://developer.qt.nokia.com/forums/viewthread/370 with no luck.
If i don’t define “camera->setViewfinder(viewfinder);”, all I get is some Camerabin “internal data flow error” after a while.

I have also considered subclassing QVideoWidget and reimplementing paintEvent, but don’t see how can I actually get access to the frames before they are drawn to the widget.

I do not want to process snapshot images that are already saved in file.

Is the any good solutions/examples how to solve this problem?

Thank you.