For debugging I would like to know what GL is installed on the user’s machine. I have a QQuickItem that reports the value of glGetString(GL_VERSION); on my machine it says “2.1.2 NVIDIA 304.117” but if I run glxinfo on the command-line it reports “4.2.0 NVIDIA 304.117”.
Is there a way, inside Qt/Qml, to get the “4.2.0” value?
Thanks,
Chris
↧