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

When using a QOpenGLWidget as the viewport for a QGraphicsView then it is not calling paintGL automatically, therefore nothing is rendered even if it is updating

    XMLWordPrintable

Details

    Description

      When using a QOpenGLWidget as the viewport for a QGraphicsView then it is not calling paintGL automatically, therefore nothing is rendered even if it is updating. A manual update needs to be done instead to force it to render. When using a QGLWidget then it is working fine. The example attached is a modified qopenglwidget example to use QGraphicsView.

      Attachments

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

        Activity

          People

            lagocs Laszlo Agocs
            andysh Andy Shaw
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes