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

Hidden floating QOpenGLWidget produces a warning when calling render() on the MainWindow

XMLWordPrintable

    • 2ea90c56f2924acc5c620ed7c29a48c72a42efd3

      Attached will be a small sample application thatĀ have a QDockwidget which contains a QOpenGLWidget. The dockwidget is floating and not visible. TheĀ calling render() on the MainWindow to retrieve a QImage and it produces the following warning:

      "Asking for share context for widget that does not have a window handle
      QOpenGLWidget: Cannot be used without a context shared with the toplevel."

      Note that the QImage result is correct.

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

            lagocs Laszlo Agocs
            misalmel Mika Salmela
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes