QtVersion: Add a method to query the target device type

Add and implement a method to get the supported target device
types to the BaseQtVersion interface. Implement this for all
Qt versions.

Validate that the Qt version's target device type matches up
with the device type set in the kit and warn on mismatch.

Change-Id: I95da42031022663776afe23a50eae3677bdb1dda
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2015-11-27 14:02:44 +01:00
parent eebe44d3cf
commit d323d595b7
20 changed files with 92 additions and 41 deletions

View File

@@ -119,6 +119,11 @@ QSet<Core::Id> IosQtVersion::availableFeatures() const
return features;
}
QSet<Core::Id> IosQtVersion::targetDeviceTypes() const
{
return { Constants::IOS_DEVICE_TYPE };
}
QString IosQtVersion::platformName() const
{
return QLatin1String(QtSupport::Constants::IOS_PLATFORM);