From 37bae591b7829cd8ac6a9c8556bbe6b96b365bc3 Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Tue, 16 Jul 2019 10:31:18 +0900 Subject: Introduce a new feature called easingcurve MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Reviewed-by: Jan Arve Sæther Reviewed-by: Edward Welbourne --- src/corelib/kernel/qmetatype_p.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/corelib/kernel/qmetatype_p.h') diff --git a/src/corelib/kernel/qmetatype_p.h b/src/corelib/kernel/qmetatype_p.h index fa7208369a..d743d5a5c7 100644 --- a/src/corelib/kernel/qmetatype_p.h +++ b/src/corelib/kernel/qmetatype_p.h @@ -206,7 +206,9 @@ template<> struct TypeDefinition { static const bool IsAvailable = f template<> struct TypeDefinition { static const bool IsAvailable = false; }; template<> struct TypeDefinition { static const bool IsAvailable = false; }; template<> struct TypeDefinition { static const bool IsAvailable = false; }; +#if QT_CONFIG(easingcurve) template<> struct TypeDefinition { static const bool IsAvailable = false; }; +#endif template<> struct TypeDefinition { static const bool IsAvailable = false; }; template<> struct TypeDefinition { static const bool IsAvailable = false; }; template<> struct TypeDefinition { static const bool IsAvailable = false; }; -- cgit v1.2.3