diff options
author | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2019-07-16 10:31:18 +0900 |
---|---|---|
committer | Tasuku Suzuki <tasuku.suzuki@qbc.io> | 2019-08-16 01:05:02 +0900 |
commit | 37bae591b7829cd8ac6a9c8556bbe6b96b365bc3 (patch) | |
tree | c9a8f19898bc4004b62248b7895a1374c06dae08 /src/corelib/configure.json | |
parent | d0e7be8b1c77dea752193dfb6df8bf8b467c6560 (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/configure.json')
-rw-r--r-- | src/corelib/configure.json | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json index 83c30fb47b..b2f032a667 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -1009,11 +1009,17 @@ "condition": "features.textcodec", "output": [ "publicFeature", "feature" ] }, + "easingcurve": { + "label": "Easing curve", + "purpose": "Provides easing curve.", + "section": "Utilities", + "output": [ "publicFeature" ] + }, "animation": { "label": "Animation", "purpose": "Provides a framework for animations.", "section": "Utilities", - "condition": "features.properties", + "condition": "features.properties && features.easingcurve", "output": [ "publicFeature", "feature" ] }, "statemachine": { |