forked from qt-creator/qt-creator
ProjectExplorer: Use a addSupportedTargetDeviceType function
... also for BuildConfigurationFactory, similar to Run and Deploy. Change-Id: I453f08bf145d6a2e764d150646c698d624ae2ce9 Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -143,7 +143,8 @@ void IosBuildConfiguration::updateQmakeCommand()
|
||||
IosBuildConfigurationFactory::IosBuildConfigurationFactory()
|
||||
{
|
||||
registerBuildConfiguration<IosBuildConfiguration>(QmakeProjectManager::Constants::QMAKE_BC_ID);
|
||||
setSupportedTargetDeviceTypes({Constants::IOS_DEVICE_TYPE, Constants::IOS_SIMULATOR_TYPE});
|
||||
addSupportedTargetDeviceType(Constants::IOS_DEVICE_TYPE);
|
||||
addSupportedTargetDeviceType(Constants::IOS_SIMULATOR_TYPE);
|
||||
setBasePriority(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user