Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-47403

Add supportedXXX() to Camera API

XMLWordPrintable

    • Icon: Suggestion Suggestion
    • Resolution: Duplicate
    • Icon: Not Evaluated Not Evaluated
    • None
    • 5.5.0
    • Multimedia
    • None

      In the camera API there are actually a few classes where the camera flash support can be queried. One of those is QCameraExposure, another is QCameraFlashControl but I think there are others.

      Unlike the rest of the modes like ISO, Aperture and Shutter Speed, there is no flash modes enumeration. Each flash mode must be tested separately.
      I'd like an API like FlashModes fm = camera->supportedFlashModes() so that Ic an do if(camera->supportedFlashModes() & QCameraExposure::FlashOn)

      Additionally, please expose this to QML, which is where I really want it.

      Also, this should apply to ExposeMode and MeteringModes as well.

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            ylopes Yoann Lopes
            scorp1us Jason Hihn
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes