GLEW crash after updated Qt from 5.11.0 to 5.11.1 Windows 10 64-bit
-
I have a problem when I updated my Qt from 5.11.0 to 5.11.1 using MSVC 2017.
my GLEW version is 2.1.0 withwith OpenGL version: 4.6.0 NVIDIA 397.44
OpenGL render version: GeForce GTX 1050 Ti/PCIe/SSE2
In general I call glewInit() and it works fine. However when I updated to 5.11.1. glewInit() return error and the program prints warning messages
DXGI WARNING: Process is terminating. Using simple reporting. Please call ReportLiveObjects() at runtime for standard reporting. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: Live Producer at 0x006C4820, Refcount: 3. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: Live Object at 0x006CBB18, Refcount: 3. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: Live Object at 0x006E9328, Refcount: 1. [ STATE_CREATION WARNING #0: ]
DXGI WARNING: Live Object : 2 [ STATE_CREATION WARNING #0: ]Have anybody faced the same problem as me?
My only solution is to downgrade back to 5.11.0 to make the code works again -
I'm not sure if it helps but try setting Qt::AA_UseDesktopOpenGL before QApplication is created - otherwise maybe ANGLE is used which prevents plain OpenGL access.
See https://doc-snapshots.qt.io/qt5-5.11/windows-requirements.html