Qt: Shut down the application when the user doesn't a supported OpenGL version -


i use qt 5.7 web engine in application. application has thousands of users , of them whole application crashes (with classic windows "app.exe has stopped working" dialog) when trying load webpage in webview. upon doing digging, discovered crashes users don't have opengl 2+.

is there way determine user's opengl version , shut down application (or write message them, i'd take care of that) if version not supported? tried using glgetstring(gl_version), means including yet qt library in not small application.


Comments

Popular posts from this blog

'hasOwnProperty' in javascript -

c# - Update a combobox from a presenter (MVP) -

android - Unable to generate FCM token from dynamically instantiated Firebase -