Hi, The focus will be lost when you set image encoder settings. If you don't set any settings before you capture the first image the camera backend internally applies default settings (thus loosing focus). So it should work with following sequence:
1.) Set image encoder settings 2.) Focus (i.e. searchAndLock()) 3.) Capture image If this does not work, please file a bug report. BR, Tuomas From: qt-mobility-feedback-bounces+tuomas.viitanen=nokia....@qt.nokia.com [mailto:qt-mobility-feedback-bounces+tuomas.viitanen=nokia....@qt.nokia.com] On Behalf Of ext Vesa Shmuel Peltonen Sent: 4. maaliskuuta 2011 14:05 To: [email protected] Subject: [Qt-mobility-feedback] Question related to QCamera::searchAndLock() Hello, It seems that the searchAndLock() of QCamera does not work in N8? I do get callback that locking was successful, but when I capture image right after that, it seems that the camera tries to focus again and the image is blurred. Or am I doing something wrong? Is there way to call image capture in such way that no settings are adjusted? m_camera->searchAndLock(); .... case QCamera::Locked: if(reason == QCamera::LockAcquired) { m_imageCapture->capture(); } thanks, Vesa
_______________________________________________ Qt-mobility-feedback mailing list [email protected] http://lists.qt.nokia.com/mailman/listinfo/qt-mobility-feedback
