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

[macOS 10.14 Mojave] *Panic Report* When using QOpenGLWidget as viewport for QGraphicsView

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 5.6.3, 5.10.0, 5.12.0 Alpha
    • Fix Version/s: 5.11.3, 5.12.1
    • Labels:
      None
    • Environment:
      macOS 10.14 Mojave Qt 5.6.4, 5.10, 5.12 from git
    • Platform/s:
      macOS
    • Commits:
      7f6497e623fd66e0dc1ecab89ef16533154a6472 (qt/qtbase/5.11)

      Description

      Upgrading to MacOS Mojave resulted it "Panic Reports" (Black Screen Of Death) for my application build upon QGraphicsView and QOpenGLWidget.

       

      Attached is a test project, uncomment the creation of a QOpenGLWidget for viewport.

      I have tested this in 5.6.4, 5.10 and 5.12 (from today) all compiled with "-opengl Desktop" If that is of importance.

       

      Update: Creating stand-alone QOpenGLWidget works as expected.

      I was able to show QOpenGLWidget as viewport on screen by late-assigning it as such. This is, the widget and the view are first created, but only after they are shown on screen I call setViewport(widget). Sadly, if I try to resize the view I trigger a panic. Interestingly, before it is made a viewport, I can resize the widget to the size of the view. 

       

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              vestbo Tor Arne Vestbø
              Reporter:
              mnaydenov Mihail Naydenov
              Votes:
              3 Vote for this issue
              Watchers:
              11 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes