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

Command prompt result in label. Python 2.7 -

javascript - How do I use URL parameters to change link href on page? -

amazon web services - AWS Route53 Trying To Get Site To Resolve To www -