[Interest] QML Camera has flash?
Jason H
jhihn at gmx.com
Fri Mar 27 16:15:40 CET 2015
And, as a fall-back, if I can't detect it, I at least need to get the platform (iOS-iPad-model, Android-Nexus-9, etc) so that I can maintain a capabilities table. How can QML do that?
Thanks
> Sent: Friday, March 27, 2015 at 10:27 AM
> From: "Jason H" <jhihn at gmx.com>
> To: "interest at qt-project.org" <interest at qt-project.org>
> Subject: [Interest] QML Camera has flash?
>
> I am deploying to more hardware these days, and not all (iPads and webcams) have flash.
> How can I detect if the flash is even present? I have a logic path way that wants to collect non-flash and if present a flash image:
>
> collectNonFlash()
> if (camera.hasFlash) // - I wish this property existed.
> collectFlash()
>
> However I don't see anything in QML that allows me to see if the flash is there or not.
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest
>
More information about the Interest
mailing list