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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • 6.5
    • 6.3.1
    • Documentation, Multimedia
    • None
    • Windows
    • Windows

    Description

      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()
      }

       

      Attachments

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

        Activity

          People

            docteam Qt Documentation Team
            lisandropm Lisandro Damián Nicanor Pérez Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes