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

    • All

      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).

        1. qtbug71416.zip
          3 kB
          Akihito Izawa
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

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

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes