From 0e3aa48c0942da582609670e6f1aef8302a6f04a Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Mon, 27 May 2024 23:39:39 +0900 Subject: [PATCH] Fix build with -no-feature-easingcurve Amends a4341827ac17c14541ea69c67c76aaae5a09ddcc. Change-Id: Id0113d7c127365b6efbbdf4758bd6d25a6a33504 Reviewed-by: Ivan Solovev --- src/corelib/compat/removed_api.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/corelib/compat/removed_api.cpp b/src/corelib/compat/removed_api.cpp index 2210cae848a..f657ba41cc4 100644 --- a/src/corelib/compat/removed_api.cpp +++ b/src/corelib/compat/removed_api.cpp @@ -974,12 +974,14 @@ bool QDir::operator==(const QDir &dir) const return comparesEqual(*this, dir); } +#if QT_CONFIG(easingcurve) #include "qeasingcurve.h" bool QEasingCurve::operator==(const QEasingCurve &other) const { return comparesEqual(*this, other); } +#endif // QT_CONFIG(easingcurve) #include "qfileinfo.h" // inlined API