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

REG->6.5.0 (Linux): QML Camera does not work

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Incomplete
    • Icon: P2: Important P2: Important
    • None
    • 6.5.0
    • Multimedia
    • None
    • Ubuntu 22.04.3 LTS
      Kernel 5.15.0-78-generic
    • Linux/X11

       

      The laptop webcam does not display any live video in the example below. I have tried webcams from many different laptop models all with the same issue. I don't see any errors other than failed to stop capture when closing the component below. The webcam works fine in versions less than PySide 6.5.  I have test this on a X1 Carbon Yoga Gen6, HP 840 G3. 

      import QtMultimedia
      import QtQuick
      import QtQuick.Controls
      
      Item {
          anchors.fill: parent
          CaptureSession {
              camera: Camera { id: camera }
              videoOutput: videoOutput
          }
          VideoOutput {
              id: videoOutput
              anchors.fill: parent
          }
      }
      

       

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

            artemiy Artem Dyomin
            respect88 Aaron B
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes