summaryrefslogtreecommitdiffstats
path: root/src/opengl/qgraphicsshadereffect_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/opengl/qgraphicsshadereffect_p.h')
-rw-r--r--src/opengl/qgraphicsshadereffect_p.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/opengl/qgraphicsshadereffect_p.h b/src/opengl/qgraphicsshadereffect_p.h
index 8a7c082afa..3f879fc2d2 100644
--- a/src/opengl/qgraphicsshadereffect_p.h
+++ b/src/opengl/qgraphicsshadereffect_p.h
@@ -54,6 +54,9 @@
//
#include <QtWidgets/qgraphicseffect.h>
+
+#ifndef QT_NO_GRAPHICSEFFECT
+
#include <QtOpenGL/qtopenglglobal.h>
QT_BEGIN_NAMESPACE
@@ -87,4 +90,6 @@ private:
QT_END_NAMESPACE
+#endif // QT_NO_GRAPHICSEFFECT
+
#endif // QGRAPHICSSHADEREFFECT_P_H