Fix build with -no-feature-settings

Change-Id: Ia79e5e616a1c35da299c00766e960789c7b60695
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Reviewed-by: Marc Mutz <marc.mutz@qt.io>
(cherry picked from commit a0110f381907add3c8acabfa58c4b9357439fa39)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
Alexey Rochev 2022-10-15 02:42:51 +03:00 committed by Qt Cherry-pick Bot
parent 4aeb2674e4
commit 0d6bff7d0f

View File

@ -194,6 +194,8 @@ void QObject::setObjectName(const QString &name)
#include "qlocale.h" // uses QT_CORE_INLINE_SINCE
#if QT_CONFIG(settings)
#include "qsettings.h"
void QSettings::beginGroup(const QString &prefix)
@ -236,6 +238,7 @@ QVariant QSettings::value(const QString &key) const
return value(qToAnyStringViewIgnoringNull(key));
}
#endif // QT_CONFIG(settings)
#include "qversionnumber.h"