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

Documentation for QML's CaptureSession lacks camera.start() entry

XMLWordPrintable

    • Windows
    • 4397bbfda (dev), ae4ea8507 (6.10), 6316eddcd (6.9)
    • Multimedia, weeks 18-19

      According to https://doc-snapshots.qt.io/qt6-dev/qml-qtmultimedia-capturesession.html this snippet ought to be enough:

       
      CaptureSession {id: captureSessioncamera: Camera

      {id: camera}

      imageCapture: ImageCapture

      {id: imageCapture}

      recorder: MediaRecorder

      {id: recorder}

      videoOutput: preview}
      But that will only work on linux.

      On Windows it also needs:

      Component.onCompleted: {
       camera.start()
      }

       

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

            npskalerud Nils Petter Skålerud
            lisandropm Lisandro Damián Nicanor Pérez Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes