Details
-
Bug
-
Resolution: Unresolved
-
P1: Critical
-
None
-
5.12.5
-
None
Description
The runtime cannot find a suitable OpenGL version so the application crashes.
It happens on both Ubuntu 16.04 and macOS 10.15.3
The log message as follows
qt3ds.internal_error: Can't find a suitable OpenGL version for QSurfaceFormat(version 3.0, options QFlags<QSurfaceFormat::FormatOption>(DeprecatedFunctions), depthBufferSize 24, redBufferSize 8, greenBufferSize 8, blueBufferSize 8, alphaBufferSize 0, stencilBufferSize 8, samples -1, swapBehavior QSurfaceFormat::DoubleBuffer, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile QSurfaceFormat::NoProfile)
There is a workaround can be written in the code which explicitly set the QSurfaceFormat version and profile to CoreProfile.
But this won't work on the other environment.
Any fixes for this?