diff options
Diffstat (limited to 'src/opengl/qglfunctions.h')
-rw-r--r-- | src/opengl/qglfunctions.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opengl/qglfunctions.h b/src/opengl/qglfunctions.h index da3ce7db4d..0cb0b712ba 100644 --- a/src/opengl/qglfunctions.h +++ b/src/opengl/qglfunctions.h @@ -43,9 +43,11 @@ #define QGLFUNCTIONS_H #ifdef __GLEW_H__ +#if defined(Q_CC_GNU) #warning qglfunctions.h is not compatible with GLEW, GLEW defines will be undefined #warning To use GLEW with Qt, do not include <QtOpenGL> or <QGLFunctions> after glew.h #endif +#endif #include <QtOpenGL/qgl.h> #include <QtGui/qopenglcontext.h> |