QtSupport: Add Qt 5.8 specific versions to the feature system

Qt.Quick 2.8
QtQuick.Controls 2.1

This enables wizards which require Qt 5.8+ specific Qt versions to show
the Qt 5.8+ kits in the kit selection page.

Change-Id: If46090bd240106c197c67f9c2b1908d89c608881
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
This commit is contained in:
Alessandro Portale
2017-01-31 12:02:09 +01:00
parent 3ceb4c5c7a
commit 54578a5509

View File

@@ -471,6 +471,12 @@ QSet<Id> BaseQtVersion::availableFeatures() const
if (qtVersion().matches(5, 7))
return features;
features.unite(versionedIds(Constants::FEATURE_QT_QUICK_PREFIX, 2, 8));
features.unite(versionedIds(Constants::FEATURE_QT_QUICK_CONTROLS_2_PREFIX, 2, 1));
if (qtVersion().matches(5, 8))
return features;
return features;
}