Details
-
Bug
-
Resolution: Done
-
P2: Important
-
5.10.1, 5.11.2
-
None
-
MacOS Mojave, Mac mini 2014, Macbook Pro 2014, all QT versions
Description
After upgrading to MacOS Mojave, operation system always crash (death screen) when I move QDockWidget that contains QOpenGLWidget. QDockWidget without QOpenGLWidget works well.
System crash is not dependent to Qt version, but it is dependent to Macs and operation systems:
affected
- Macmini (Late 2014) Processor 2.6GHz Intel Core i5, Memory 8GB 1600 MHz DDR3, Graphics Intel Iris 1536 MB, Operation system MacOS Mojave 10.14.1, Xcode 10.0, Qt 5.11.2 and Qt 5.10.1
- Macbook Pro (Retina, 13-inch, Mid 2014), Processor 2.6GHz Intel Core i5, Memory 8GB 1600 MHz DDR3, Graphics Intel Iris 1536 MB, Operation system MacOS Mojave 10.14.1, Xcode 10.1, Qt 5.11.2
not affected
- Macbook Air (13-inch, Mid 2012), Processor 1.8 GHz Intel Core i5, Memory 4 GB 1600 MHz DDR3, Graphics Intel HD Graphics 4000 1536 MB, Operation system MacOS Mojave 10.14.1, Xcode 10.1, Qt 5.11.2
I created minimal example to reproduce this issue ( look glwidget-dockwidget-panic.zip )
Temporary solution:
I spend 2 days to find temporary solution, that is based on re-creation QOpenGLWidget with delay after called docking changed event (look glwidget-dckwidget-fixed.zip ). This solution work well (without any crash), I'm using it in large project with many dockwidgets that contains many OpenGL contents (10-15 dockwidgets with 5-10 opengl widgets).
Attachments
Issue Links
- is duplicated by
-
QTBUG-71779 QOpenGLWidget in QDockWidget Mac OS Mojave 10.14.1 reboot
- Closed
- relates to
-
QTBUG-70921 [macOS 10.14 Mojave] *Panic Report* When using QOpenGLWidget as viewport for QGraphicsView
- Closed