Commit e7cd3227 authored by Maurice Kalinowski's avatar Maurice Kalinowski
Browse files

WinRT: Fix QTimeZone transitions by switching backend


Previously WinRT was using the UTC backend which fails on all platforms
for some QDateTime autotests related to timezone items. Hence switch to
the Windows implementation for WinRT as well.

However, the windows backend does query the registry heavily, which is
not supported on WinRT. Instead use the API version provided by the SDK.

Long-term we might want to switch to this version on desktop windows as
well, as direct registry access would not be required and we could
harmonize the codepaths for both platforms.

Change-Id: I620b614e9994aa77b531e5c34c9be1da7e272a30
Reviewed-by: default avatarOliver Wolff <oliver.wolff@theqtcompany.com>
parent 7e72a5e1
No related merge requests found
Showing with 106 additions and 6 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment