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

Cannot capture screen from QQuickWidget

XMLWordPrintable

    • Linux/Yocto
    • e5d614f59 (dev), cc4dd8776 (6.7), 807c4e10a (6.6), 13d7ed987 (tqtc/lts-6.5)

      On embedded Linux with EGLFS platform plugin.

      Trying to capture from Window (see QTBUG-117877 ) leads to an error message suggesting capturing works with composited windows only, but that doesn't work either and just leads to an abort() call because capture happens in a new thread which cannot access OpenGL context of the window.

      Running attached application leads to this output:

      qml: starting screen capture
      qt.multimedia.ffmpeg.surfacecapturethread: Screen capture rate has been changed: 60
      qt.multimedia.ffmpeg.surfacecapturethread: start screen capture thread
      Cannot make QOpenGLContext current in a different thread
      

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

            artemiy Artem Dyomin
            poikelin Joni Poikelin
            Votes:
            1 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes