summaryrefslogtreecommitdiffstats
path: root/src/corelib/tools/qtimeline.h
diff options
context:
space:
mode:
authorTasuku Suzuki <tasuku.suzuki@qbc.io>2019-07-16 10:31:18 +0900
committerTasuku Suzuki <tasuku.suzuki@qbc.io>2019-08-16 01:05:02 +0900
commit37bae591b7829cd8ac6a9c8556bbe6b96b365bc3 (patch)
treec9a8f19898bc4004b62248b7895a1374c06dae08 /src/corelib/tools/qtimeline.h
parentd0e7be8b1c77dea752193dfb6df8bf8b467c6560 (diff)
Introduce a new feature called easingcurve
features.animation and features.scroller depend on the feature. In total, this saves around 180KB from QtCore and 75KB from QtWidgets. Change-Id: I65aac3ec4d50d62424ee33f44b99f3cfb91121d6 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io> Reviewed-by: Jan Arve Sæther <jan-arve.saether@qt.io> Reviewed-by: Edward Welbourne <edward.welbourne@qt.io>
Diffstat (limited to 'src/corelib/tools/qtimeline.h')
-rw-r--r--src/corelib/tools/qtimeline.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/corelib/tools/qtimeline.h b/src/corelib/tools/qtimeline.h
index d9982bdb58..9a60cd679f 100644
--- a/src/corelib/tools/qtimeline.h
+++ b/src/corelib/tools/qtimeline.h
@@ -40,6 +40,10 @@
#ifndef QTIMELINE_H
#define QTIMELINE_H
+#include <QtCore/qglobal.h>
+
+QT_REQUIRE_CONFIG(easingcurve);
+
#include <QtCore/qeasingcurve.h>
#include <QtCore/qobject.h>