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

QML Camera - setting zoomFactor does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3: Somewhat important P3: Somewhat important
    • 6.2.9, 6.5.2, 6.6.0
    • 6.3.1
    • Multimedia
    • None
    • Android, iOS/tvOS/watchOS
    • 54464a09a (dev), ab0bdd7ee (6.5), 4672ca24b (tqtc/lts-6.2), 3db83d821 (dev), 72b9dd1d0 (6.5)
    • 2023wk18FOQtforAndroid, 2023wk20FOQtforAndroid, 2023wk22FOQtforAndroid

      Repeatable with the 6.3.1 declarative-camera example. ZoomControl in PhotoCaptureControls.qml wrongly calls 

      onZoomTo: camera.setDigitalZoom(value)
      

      which in Qt6 should be

      onZoomTo:(value) => camera.zoomFactor = value
      

      Even with the corrected code the value of zoomFactor remains at 1.

       

       

        For Gerrit Dashboard: QTBUG-105372
        # Subject Branch Project Status CR V

            bartlomiejmoskal Bartlomiej Moskal
            niallfraser Niall Fraser
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved: