Amend #if-ery to exclude MS QTZP backend declaration when not in use
Since 2017 we've been using the ICU backend in preference to the MS one, so there's no point declaring the MS one when it's not being compiled. Pick-to: 6.6 6.5 Change-Id: Ia7b770ec27bb627caace814b972967c4f7d63330 Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
ec8e3e535d
commit
0de55973d3
@ -378,7 +378,7 @@ private:
|
||||
};
|
||||
#endif // Q_OS_DARWIN
|
||||
|
||||
#ifdef Q_OS_WIN
|
||||
#if defined(Q_OS_WIN) && !QT_CONFIG(icu)
|
||||
class Q_AUTOTEST_EXPORT QWinTimeZonePrivate final : public QTimeZonePrivate
|
||||
{
|
||||
public:
|
||||
@ -434,7 +434,7 @@ private:
|
||||
QString m_daylightName;
|
||||
QList<QWinTransitionRule> m_tranRules;
|
||||
};
|
||||
#endif // Q_OS_WIN
|
||||
#endif // Q_OS_WIN && !icu
|
||||
|
||||
#ifdef Q_OS_ANDROID
|
||||
class QAndroidTimeZonePrivate final : public QTimeZonePrivate
|
||||
|
Loading…
x
Reference in New Issue
Block a user