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

QML WindowCapture does not accept QML Window as its window

    XMLWordPrintable

Details

    Description

      https://doc.qt.io/qt-6/qml-qtmultimedia-windowcapture.html#window-prop
      It is said that it should be a Window but it is actually not the case. It requires a QCapturableWindow which is not a QWindow.

      I see 2 ways to address this:
      1. Correct the doc so that it tells users that QCapturableWindow is needed
      2. Wrap QWindow somehow into a QCapturableWindow

      Personally speaking, I hope the latter can be adopted since otherwise users have to manually pick one from the list returned by capturableWindows (and probably also by looking into each description and validity).

      Attachments

        Issue Links

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

          Activity

            People

              qtmultimediateam Qt Multimedia Team
              luqiaochen Luqiao Chen
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes