Re: [Interest] QCamera flash modes

2015-07-23 Thread Lopes Yoann
On 22 Jul 2015, at 22:41, Jason H mailto:jh...@gmx.com>> wrote: This is not working. So In QML, I start the backface camera, and it grabs viewfinder frames. I then call my C++ object which has this function: bool FlashControl::isFlashSupported(){ camera = new QCamera(QCamera::BackFace); if (came

Re: [Interest] QCamera flash modes

2015-07-22 Thread Jason H
AM > From: "Lopes Yoann" > To: "Jason H" > Cc: interest > Subject: Re: [Interest] QCamera flash modes > > > On 20 Jul 2015, at 21:34, Jason H wrote: > > > > However all I ever get is false. This is being run on an iPhone 5S, which > >

Re: [Interest] QCamera flash modes

2015-07-21 Thread Lopes Yoann
> On 20 Jul 2015, at 21:34, Jason H wrote: > > However all I ever get is false. This is being run on an iPhone 5S, which > does have a backface flash, and I do use the flash successfully in QML. I'm > attempting to also support iPads which do not have a flash at all, but I need > to know that

[Interest] QCamera flash modes

2015-07-20 Thread Jason H
I'm trying to identify if a QCamera has a flash. Ideally, I'd like this done in QML, but there seems to be no support for it yet. So I'm making a QML type in C++. So in C++: qDebug() << "Default:" << QCameraInfo::defaultCamera().deviceName() << QCameraInfo::defaultCamera().position(); camera =