Clean up conditioning on use of MS backend for timezones

CONDITION can be split across lines, so doen't need to overflow our
usual right margin and can be more readable. WIN32 in fact implies NOT
ANDROID AND NOT APPLE, so don't bother repeating those.

Change-Id: I03b649d4588f7f84b08b41028dd08941100b749e
Reviewed-by:  Alexey Edelev <alexey.edelev@qt.io>
This commit is contained in:
Edward Welbourne 2024-02-26 15:54:59 +01:00
parent 399a7f07e6
commit edc3feb07b

View File

@ -913,7 +913,10 @@ qt_internal_extend_target(Core
time/qtimezoneprivate_icu.cpp
)
qt_internal_extend_target(Core CONDITION QT_FEATURE_timezone AND WIN32 AND NOT QT_FEATURE_icu AND NOT ANDROID AND NOT APPLE
# Even MS says we should prefer ICU over its APIs for TZ data:
qt_internal_extend_target(Core
CONDITION
QT_FEATURE_timezone AND WIN32 AND NOT QT_FEATURE_icu
SOURCES
time/qtimezoneprivate_win.cpp
)