summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qanimationgroup_p.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qanimationgroup_p.h')
-rw-r--r--src/corelib/animation/qanimationgroup_p.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/corelib/animation/qanimationgroup_p.h b/src/corelib/animation/qanimationgroup_p.h
index 31c2cd08e8..ff759d11fd 100644
--- a/src/corelib/animation/qanimationgroup_p.h
+++ b/src/corelib/animation/qanimationgroup_p.h
@@ -57,7 +57,7 @@
#include "private/qabstractanimation_p.h"
-#ifndef QT_NO_ANIMATION
+QT_REQUIRE_CONFIG(animation);
QT_BEGIN_NAMESPACE
@@ -89,6 +89,4 @@ public:
QT_END_NAMESPACE
-#endif //QT_NO_ANIMATION
-
#endif //QANIMATIONGROUP_P_H