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.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/opengl/qgraphicsshadereffect_p.h b/src/opengl/qgraphicsshadereffect_p.h
index 57326fdaf2..d7e0ec51d4 100644
--- a/src/opengl/qgraphicsshadereffect_p.h
+++ b/src/opengl/qgraphicsshadereffect_p.h
@@ -53,12 +53,11 @@
#include <QtWidgets/qgraphicseffect.h>
-#ifndef QT_NO_GRAPHICSEFFECT
-
#include <QtOpenGL/qtopenglglobal.h>
-QT_BEGIN_NAMESPACE
+QT_REQUIRE_CONFIG(graphicseffect);
+QT_BEGIN_NAMESPACE
class QGLShaderProgram;
class QGLCustomShaderEffectStage;
@@ -88,6 +87,4 @@ private:
QT_END_NAMESPACE
-#endif // QT_NO_GRAPHICSEFFECT
-
#endif // QGRAPHICSSHADEREFFECT_P_H