diff options
author | hjk <hjk@qt.io> | 2020-06-26 13:59:38 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2020-07-06 11:15:18 +0000 |
commit | e1c88116b397ecac2ef0f0678a419790a3e40402 (patch) | |
tree | 830be4b2f1aabad0522c7e01287ec9197b55e4cf /src/plugins/winrt/winrtqtversion.cpp | |
parent | c9eedbe0f387f33e5e455af03a795d2114528543 (diff) |
Core/Utils: Migrate further to Utils::Id
The coreplugin/id.h header is kept for downstream for now.
Change-Id: I8c44590f7b988b3770ecdc177c40783e12353e66
(cherry picked from commit 430a33dcd9ac80ddb848e41f8f059102857c88aa)
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Diffstat (limited to 'src/plugins/winrt/winrtqtversion.cpp')
-rw-r--r-- | src/plugins/winrt/winrtqtversion.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/plugins/winrt/winrtqtversion.cpp b/src/plugins/winrt/winrtqtversion.cpp index 33d6a32bdc..7bc66c3618 100644 --- a/src/plugins/winrt/winrtqtversion.cpp +++ b/src/plugins/winrt/winrtqtversion.cpp @@ -38,17 +38,17 @@ QString WinRtQtVersion::description() const return tr("Windows Runtime"); } -QSet<Core::Id> WinRtQtVersion::availableFeatures() const +QSet<Utils::Id> WinRtQtVersion::availableFeatures() const { - QSet<Core::Id> features = QtSupport::BaseQtVersion::availableFeatures(); + QSet<Utils::Id> features = QtSupport::BaseQtVersion::availableFeatures(); features.insert(QtSupport::Constants::FEATURE_MOBILE); features.remove(QtSupport::Constants::FEATURE_QT_CONSOLE); - features.remove(Core::Id::versionedId(QtSupport::Constants::FEATURE_QT_QUICK_CONTROLS_PREFIX, 1)); + features.remove(Utils::Id::versionedId(QtSupport::Constants::FEATURE_QT_QUICK_CONTROLS_PREFIX, 1)); features.remove(QtSupport::Constants::FEATURE_QT_WEBKIT); return features; } -QSet<Core::Id> WinRtQtVersion::targetDeviceTypes() const +QSet<Utils::Id> WinRtQtVersion::targetDeviceTypes() const { return {Constants::WINRT_DEVICE_TYPE_LOCAL, Constants::WINRT_DEVICE_TYPE_EMULATOR}; } |