[Interest] Camera not worknig on IOS

Daniel França daniel.franca at gmail.com
Sun May 31 01:05:55 CEST 2015


Trying to isolate the problem, the camera works if it's not set with
CaptureVideo as captureMode, I'm trying to find any limitation or
workaround needed to make video capture to work on IOS.

Em sáb, 30 de mai de 2015 às 22:39, Daniel França <daniel.franca at gmail.com>
escreveu:

> heads up: It was missing the multimedia module in the .pro file.
> After include it, now, at least, it asks for video and audio
> permissions... but still no image is captured.
>
> Any ideas about what is happening?
>
> Best,
> Daniel
>
> Em sáb, 30 de mai de 2015 às 21:58, Daniel França <daniel.franca at gmail.com>
> escreveu:
>
>> 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/35be1aae/attachment.html>


More information about the Interest mailing list