[SailfishDevel] QCamera set device

Alexander Maliyev alex.maliyev at inbox.ru
Mon Jul 20 13:14:17 UTC 2015


Got it, Thanks a lot


On Jul 20, 2015, at 6:51 PM, Андрей Кожевников <coderusinbox at gmail.com> wrote:

> 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
> _______________________________________________
> 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/47f2d71b/attachment.html>


More information about the Devel mailing list