summaryrefslogtreecommitdiff
path: root/include/mbgl/gl/gl.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'include/mbgl/gl/gl.hpp')
-rw-r--r--include/mbgl/gl/gl.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/mbgl/gl/gl.hpp b/include/mbgl/gl/gl.hpp
index 285f1ff3ba..32a26b3f56 100644
--- a/include/mbgl/gl/gl.hpp
+++ b/include/mbgl/gl/gl.hpp
@@ -24,6 +24,9 @@
#else
#error Unsupported Apple platform
#endif
+#elif __QT__
+ #define GL_GLEXT_PROTOTYPES
+ #include <qopengl.h>
#elif __ANDROID__ || MBGL_USE_GLES2
#define GL_GLEXT_PROTOTYPES
#include <GLES2/gl2.h>