summaryrefslogtreecommitdiffstats
path: root/src/widgets/effects/qgraphicseffect_p.h
diff options
context:
space:
mode:
authorStephan Binner <stephan.binner@basyskom.com>2017-07-09 08:47:10 +0200
committerStephan Binner <stephan.binner@basyskom.com>2017-07-11 02:52:03 +0000
commit93dc459f488f866db79ede1f27ef739a243764e4 (patch)
tree8c5b859d5d7e093695a364b3257d31c70732c7e5 /src/widgets/effects/qgraphicseffect_p.h
parentbb1e5675a5628b72edd32b975e78b7feba366ff9 (diff)
Convert features.graphicseffect to QT_[REQUIRE_]CONFIG
Change-Id: I1bb96088b2e9f2a2cfab5fceeebebe94fa6bb3a6 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Diffstat (limited to 'src/widgets/effects/qgraphicseffect_p.h')
-rw-r--r--src/widgets/effects/qgraphicseffect_p.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/widgets/effects/qgraphicseffect_p.h b/src/widgets/effects/qgraphicseffect_p.h
index 12bdbfe6fc..c5c7ff5900 100644
--- a/src/widgets/effects/qgraphicseffect_p.h
+++ b/src/widgets/effects/qgraphicseffect_p.h
@@ -59,7 +59,8 @@
#include <private/qobject_p.h>
#include <private/qpixmapfilter_p.h>
-#ifndef QT_NO_GRAPHICSEFFECT
+QT_REQUIRE_CONFIG(graphicseffect);
+
QT_BEGIN_NAMESPACE
class QGraphicsEffectSourcePrivate;
@@ -226,6 +227,4 @@ public:
QT_END_NAMESPACE
-#endif //QT_NO_GRAPHICSEFFECT
#endif // QGRAPHICSEFFECT_P_H
-