Fix build with -no-feature-settings
Pick-to: 6.4 Change-Id: Ia79e5e616a1c35da299c00766e960789c7b60695 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io> Reviewed-by: Marc Mutz <marc.mutz@qt.io>
This commit is contained in:
parent
d655391d01
commit
a0110f3819
@ -194,6 +194,8 @@ void QObject::setObjectName(const QString &name)
|
|||||||
|
|
||||||
#include "qlocale.h" // uses QT_CORE_INLINE_SINCE
|
#include "qlocale.h" // uses QT_CORE_INLINE_SINCE
|
||||||
|
|
||||||
|
#if QT_CONFIG(settings)
|
||||||
|
|
||||||
#include "qsettings.h"
|
#include "qsettings.h"
|
||||||
|
|
||||||
void QSettings::beginGroup(const QString &prefix)
|
void QSettings::beginGroup(const QString &prefix)
|
||||||
@ -236,6 +238,7 @@ QVariant QSettings::value(const QString &key) const
|
|||||||
return value(qToAnyStringViewIgnoringNull(key));
|
return value(qToAnyStringViewIgnoringNull(key));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif // QT_CONFIG(settings)
|
||||||
|
|
||||||
#include "qversionnumber.h"
|
#include "qversionnumber.h"
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user