aboutsummaryrefslogtreecommitdiffstats
path: root/src/qml/animations/qanimationjobutil_p.h
diff options
context:
space:
mode:
authorUlf Hermann <ulf.hermann@qt.io>2017-12-19 16:37:24 +0100
committerUlf Hermann <ulf.hermann@qt.io>2018-02-15 08:04:48 +0000
commit70f35501da4d1bbb36703dcc7b121c454f8d57a9 (patch)
tree5f925444054cccb467ad0a5acdb09b8c31c837e7 /src/qml/animations/qanimationjobutil_p.h
parentf254b0aa67a4656d25c7ea240efcd00084772f00 (diff)
Add a feature for qml-animation
It should be possible to switch it off without globally switching animations off in Qt. Change-Id: I3cae6b72b2c6b5c420f21625208de5e273839438 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io> Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'src/qml/animations/qanimationjobutil_p.h')
-rw-r--r--src/qml/animations/qanimationjobutil_p.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/qml/animations/qanimationjobutil_p.h b/src/qml/animations/qanimationjobutil_p.h
index 0bb9e83b2d..e3d6fe9178 100644
--- a/src/qml/animations/qanimationjobutil_p.h
+++ b/src/qml/animations/qanimationjobutil_p.h
@@ -51,6 +51,8 @@
// We mean it.
//
+QT_REQUIRE_CONFIG(qml_animation);
+
#define RETURN_IF_DELETED(func) \
{ \
bool *prevWasDeleted = m_wasDeleted; \