Solved by adding the following to my .pro file: QT += multimedia QTPLUGIN += qavfcamera
On 2 December 2013 23:14, Ynon Perek <[email protected]> wrote: > 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 > > > > -- כותב הרצאות ? מדבר מול קהל ? הבלוג שלי לומד לדבר<http://publicspeakr.blogspot.com/>כתוב במיוחד בשבילך.
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
