diff Framework/OpenGL/OpenGLIncludes.h @ 1147:bc27c199eefe broker

qt
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 14 Nov 2019 15:53:49 +0100
parents 6a9300ecfa13
children 0ca50d275b9a
line wrap: on
line diff
--- a/Framework/OpenGL/OpenGLIncludes.h	Tue Nov 12 20:03:23 2019 +0100
+++ b/Framework/OpenGL/OpenGLIncludes.h	Thu Nov 14 15:53:49 2019 +0100
@@ -32,6 +32,8 @@
 #if defined(__APPLE__)
 #  include <OpenGL/gl.h>
 #  include <OpenGL/glext.h>
+#elif defined(QT_VERSION_MAJOR) && (QT_VERSION >= 5)
+// Qt5 takes care of the inclusions
 #elif defined(_WIN32)
 // On Windows, use the compatibility headers provided by glew
 #  include <GL/glew.h>