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

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.11.3, 5.12.1
    • 5.6.3, 5.10.0, 5.12.0 Alpha
    • None
    • macOS 10.14 Mojave Qt 5.6.4, 5.10, 5.12 from git

    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

          For Gerrit Dashboard: QTBUG-70921
          # Subject Branch Project Status CR V

          Activity

            People

              vestbo Tor Arne Vestbø
              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