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

[Reg 6.2 -> 6.3] QML MediaDevices elements not displayed in ListView

    XMLWordPrintable

Details

    • Windows
    • 01f6ba9949 (qt/qtdeclarative/dev) 01f6ba9949 (qt/tqtc-qtdeclarative/dev) 67c5a38fec (qt/qtdeclarative/6.3) 67c5a38fec (qt/tqtc-qtdeclarative/6.3)

    Description

      Elements of MediaDevices such as audioOutputs are not available for ListView or ComboBox. 

      The minimal example is below. It displays audio outputs. The last working version I can confirm was 6.2.2.

      import QtQuick
      import QtMultimedia
      
      Window {
          id: root
          width: 640
          height: 480
          visible: true
      
          MediaDevices { id: mediaDevices }
      
          ListView {
              height: root.height
              model: mediaDevices.audioOutputs
              delegate: Text { text: modelData.description }
          }
      }
      

      Attachments

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

        Activity

          People

            ulherman Ulf Hermann
            piotr Piotr Srebrny (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes