There is a rare crash that occurs when interacting with the graph size estimate plot, but only on macOS. The crash occurs in QOpenGLContext::makeCurrent:
With some tedious logging and investigation it looks like the crash is actually in QWindow::surfaceHandle() (presumably inlined into ::makeCurrent). 5d534b7 disables OpenGL acceleration on macOS for QCustomPlotQuickItem based plots, hopefully preventing this crash. A warning is also added that is triggered when building against a newer version of Qt; there is some circumstantial evidence it was a bug in Qt that has subsequently been fixed, so hopefully OpenGL can be re-enabled in future.
There is a rare crash that occurs when interacting with the graph size estimate plot, but only on macOS. The crash occurs in
QOpenGLContext::makeCurrent
:With some tedious logging and investigation it looks like the crash is actually in
QWindow::surfaceHandle()
(presumably inlined into::makeCurrent
). 5d534b7 disables OpenGL acceleration on macOS forQCustomPlotQuickItem
based plots, hopefully preventing this crash. A warning is also added that is triggered when building against a newer version of Qt; there is some circumstantial evidence it was a bug in Qt that has subsequently been fixed, so hopefully OpenGL can be re-enabled in future.