Uploaded image for project: 'Qt Mobility'
  1. Qt Mobility
  2. QTMOBILITY-1381

QML Camera element aperture and shutterSpeed properties return incorrect values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Out of scope
    • Icon: P2: Important P2: Important
    • None
    • 1.1.1
    • Multimedia
    • Nokia N8, Symbian^3, PR1.1, Qt SDK 1.1 Beta

      Using the Qt SDK 1.1 Beta, create a new QML application project.

      To the project's .pro file, add

      CONFIG += mobility
      MOBILITY += multimedia
      symbian:TARGET.CAPABILITY += UserEnvironment
      

      In main.qml, write

      Camera {
          id: cam
          MouseArea {
              anchors.fill: parent
              onClicked: {
                  cam.searchAndLock()
                  console.log(cam.aperture + " " + cam.shutterSpeed)
                  cam.captureImage()
              }
          }
      }
      

      Launch the application on a N8 PR1.1 and tap on the camera viewport.

      Actual result:
      Aperture and shutterSpeed always return 0.

      Expected result:
      Aperture and shutterSpeed should return the values currently active in the camera. In fact, the values should continuously update even when the camera is not in "focused" state or about to capture an image.

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

            tuviitan Tuomas Viitanen
            joe789joe789 Joe
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes