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

QML Camera element aperture and shutterSpeed properties return incorrect values

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: