[Interest] Camera not worknig on IOS

Daniel França daniel.franca at gmail.com
Sat May 30 21:58:22 CEST 2015


Hi guys,
I'm trying to deploy a QML application to IOS.
The application runs fine on OSX, but after deploying to IOS I can run the
application, but the camera capture is not working at all.
I see no video, and of course, can't record anything.

Nothing in the debug give me any information about why it's not being loaded

After google I found it: http://wiki.qt.io/QtMultimedia_iOS

In "*Camera Capture*" section it says that after Qt5.3 you don't need to
add the "*_QTPLUGIN= qavfcamera*" line, anyway I tried to add the line and
it still doesn't work.

The qml code with the camera: http://pastebin.com/QeD0U2FH

Another thing is that I use some qml components from another directory.
I've created a qmldir file, with all the information, and added the
directory to the env var QML2_IMPORT_PATH.
It works fine running from *Qt Creator*, but when I deploy it doesn't find
the qml components =/ I'd to copy the files to my project directory to make
it work, and I'm sure that there's a better way :D

Thanks,
Daniel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150530/8d45b2f7/attachment.html>


More information about the Interest mailing list