Hi,
I try to capture a picture from the camera element in Symbian Belle:
The preview is shown but when "camera.captureImage()" is called I get this error on the Nokia 701:Code:import QtQuick 1.1 import Qt 4.7 import com.nokia.symbian 1.1 import QtMultimediaKit 1.1 PageStackWindow { initialPage: cameraPage showStatusBar: false showToolBar: true Page { id: cameraPage tools: mainToolBar anchors.fill: parent orientationLock: PageOrientation.LockLandscape Camera { id: camera anchors.fill: parent focus: visible onImageCaptured: { console.log("onImageCaptured"); } onImageSaved: { console.log("Saved to " + path); } MouseArea { anchors.fill: parent onClicked: camera.captureImage(); } } ToolBarLayout { id: mainToolBar visible: true ToolButton { id: simpleBackButtonToolbar_BackButton iconSource: "toolbar-back" onClicked: { onClicked: pageStack.pop(); } } } } }
On the N8 capturing stalls the app.[Qt Message] Camera state changed: QCamera::UnloadedState
[Qt Message] Camera state changed: QCamera::ActiveState
Thread has crashed: Thread 0x6b1 has panicked. Category: KERN-EXEC; Reason: 0
Thread has crashed: Thread 0x6b2 has panicked. Category: KERN-EXEC; Reason: 0
Thread has crashed: Thread 0x6b4 has panicked. Category: KERN-EXEC; Reason: 0
Process has finished.
How can I capture a picture?
Regards,



