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

Offscreen rendering with QQuickRenderControl does not work with WebEngineView

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.8, 6.9
    • WebEngine
    • None

    Description

      I know that there's https://bugreports.qt.io/browse/QTBUG-50037 but that has been resolved 5 years ago and so much changed since then. Anyways, when I try to offscreen render a QML scene it works fine with the base QtQuick items, but for some reason it doesn't work with QtWebEngine items. I've used what's in attachment to see if I could see any result with WebEngineView but no dice and I can only see black in the revealed image, compared to other items which show up as expected. I know that in this version it could work with the offscreen platform per what https://bugreports.qt.io/browse/QTBUG-132682 describes. I've also tried to make the offscreen context current, I've arrived at the same square.

      Attachments

        1. offscreen.py
          3 kB
        2. offscreen.qml
          0.7 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            yakoyakoyokuyoku Martin Reboredo
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes