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 -

How to put a lock and transaction on table using spring 4 or above using jdbcTemplate and annotations like @Transactional? -

How to understand 2 main() functions after using uftrace to profile the C++ program? -