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

QQuickView is not shown when it is in the same window with QGLWidget in a special layout

XMLWordPrintable

      We have a window with a QSplitter with 2 items: 1) a QWidget with a layout with a QGLWidget and 2) QQuickView. Now, if you show the window the QQuickView is not visible.

      To reproduce the error the QGLWidget needs to be in a layout. If you add the QGLWidget directly to the QSplitter it is shown as expected. Also if you switch the order of the items in the QSplitter the QQuickView is shown correctly.

      The attached modified hellogl example demonstrates the problem. The modifications can be found in window.cpp around lines 70-95.

        1. hellogl.zip
          14 kB
        2. qtbug37275.zip
          16 kB
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            sletta Gunnar Sletta
            qtcomsupport Qt Support
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes