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

javascript - Confirm a form & display message if form is valid with JQuery -

Retrieving ETA (estimated time of arrival) with Google Distance Matrix API and public transit as transport mode -

ionic framework - Meteor - Error: Failed to execute 'insertBefore' on 'Node' -