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

QGLWidget draws wrong within QMainWindow on Mac OS

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 5.0.0 RC 1
    • 5.0.0 Beta 1
    • GUI: OpenGL
    • None
    • Qt 5. Xcode 4.4. Git master 8f9fcfd.
    • macOS
    • 4bddcf9

      If a QGLWidget is placed within a QMainWindow, it draws over the entire window rather than just within its own bounds.

      I've included a trivial application which adds a button on the left and a QGLWidget on the right.

      Under 4.8, the button is visible and the background of the window draws correctly.

      Under 5.0 (Mac OS), the background of the window is black and the button is not visible.

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

            richard Richard Moe Gustavsen
            cmeyer Chris Meyer
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes