iOS: use dedicated classes to create run workers

Change-Id: I3ba7b75edf69b9cf88726132f154de5c4cc7ca7b
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
hjk
2023-01-06 15:54:09 +01:00
parent c6471341f6
commit ac5db86129
6 changed files with 153 additions and 144 deletions

View File

@@ -36,8 +36,7 @@
using namespace ProjectExplorer;
using namespace Utils;
namespace Ios {
namespace Internal {
namespace Ios::Internal {
static const QLatin1String deviceTypeKey("Ios.device_type");
@@ -403,10 +402,9 @@ FilePath IosDeviceTypeAspect::localExecutable() const
IosRunConfigurationFactory::IosRunConfigurationFactory()
{
registerRunConfiguration<IosRunConfiguration>("Qt4ProjectManager.IosRunConfiguration:");
registerRunConfiguration<IosRunConfiguration>(Constants::IOS_RUNCONFIG_ID);
addSupportedTargetDeviceType(Constants::IOS_DEVICE_TYPE);
addSupportedTargetDeviceType(Constants::IOS_SIMULATOR_TYPE);
}
} // namespace Internal
} // namespace Ios
} // Ios::Internal