[Development] Camera service missing on iOS (latest 5.2RC1)
Ynon Perek
ynonperek at gmail.com
Mon Dec 2 22:14:07 CET 2013
Hi All,
I tried to run the following QML on my iPhone 5, and got the error:
defaultServiceProvider::requestService(): no service found for - "org.qt-project.qt.camera"
Camera error: "The camera service is missing”
Qt version is 5.2 RC1. The code works well on my laptop.
Any ideas ?
import QtQuick 2.0
import QtMultimedia 5.0
import QtQuick.Controls 1.1
VideoOutput {
source: camera
Camera {
id: camera
imageCapture {
onImageSaved: {
console.log(path)
}
}
}
MouseArea {
anchors.fill: parent;
onClicked: {
camera.imageCapture.capture();
}
}
}
Thanks,
Ynon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/development/attachments/20131202/ac0566d6/attachment.html>
More information about the Development
mailing list