summaryrefslogtreecommitdiffstats
path: root/src/corelib/animation/qpropertyanimation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/animation/qpropertyanimation.h')
-rw-r--r--src/corelib/animation/qpropertyanimation.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/corelib/animation/qpropertyanimation.h b/src/corelib/animation/qpropertyanimation.h
index 3270591d1d..a1caafcad5 100644
--- a/src/corelib/animation/qpropertyanimation.h
+++ b/src/corelib/animation/qpropertyanimation.h
@@ -42,10 +42,9 @@
#include <QtCore/qvariantanimation.h>
-QT_BEGIN_NAMESPACE
-
+QT_REQUIRE_CONFIG(animation);
-#ifndef QT_NO_ANIMATION
+QT_BEGIN_NAMESPACE
class QPropertyAnimationPrivate;
class Q_CORE_EXPORT QPropertyAnimation : public QVariantAnimation
@@ -75,8 +74,6 @@ private:
Q_DECLARE_PRIVATE(QPropertyAnimation)
};
-#endif //QT_NO_ANIMATION
-
QT_END_NAMESPACE
#endif // QPROPERTYANIMATION_H