[SailfishDevel] QCamera set device

Андрей Кожевников coderusinbox at gmail.com
Mon Jul 20 12:51:29 UTC 2015


Hello, you can look at this code:
https://gist.github.com/CODeRUS/b0df7dd5edfe9bba8d2c
20.07.2015 17:18 пользователь "Alexander Maliyev" <alex.maliyev at inbox.ru>
написал:

> Hi,
>
> I have trouble opening particular device (front face / back face) with
> QCamera on Jolla / Sailfish. As per documentation I should pass device name
> constant to QCamera constructor, however QCamera::availableDevices() does
> not return anything. Could somebody help me on what const should I pass to
> QCamera constructor, or may be there is other way to do this.
>
> Thank You in advance,
>
> Alexander
> _______________________________________________
> SailfishOS.org Devel mailing list
> To unsubscribe, please send a mail to
> devel-unsubscribe at lists.sailfishos.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.sailfishos.org/pipermail/devel/attachments/20150720/16e15e1c/attachment.html>


More information about the Devel mailing list