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

QQuickWidget won't render QML if override resizeEvent and set QT_QUICK_BACKEND=software

    XMLWordPrintable

Details

    • All

    Description

      Conditions:

      • QQuickWidget::resizeEvent() is overridden in inherited class for resizing contents in QML.
      • set environment variable QT_QUICK_BACKEND=software, or call 

      QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software) in main().

       

      Expectation:

      Rendering QML on QQuickWidget.

       

      Actual:

      Blank.

       

      Reproducible on any environment, Windows, macOS and Linux.

       

      Attached sample calls QQuickWindow::setSceneGraphBackend(QSGRendererInterface::Software).

      Attachments

        Issue Links

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

          Activity

            People

              tvete Paul Olav Tvete
              akizawa Akihito Izawa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes