forked from qt-creator/qt-creator
iOS: De-Q_OBJECT-ify and hide IosDeployStep implementation
Change-Id: I8c0589e5c5c2ac69f3c48f299a97c0dbea9b5922 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -53,19 +53,6 @@ namespace Internal {
|
||||
|
||||
Q_LOGGING_CATEGORY(iosLog, "qtc.ios.common", QtWarningMsg)
|
||||
|
||||
class IosDeployStepFactory : public BuildStepFactory
|
||||
{
|
||||
public:
|
||||
IosDeployStepFactory()
|
||||
{
|
||||
registerStep<IosDeployStep>(IosDeployStep::stepId());
|
||||
setDisplayName(IosDeployStep::tr("Deploy to iOS device or emulator"));
|
||||
setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_DEPLOY);
|
||||
setSupportedDeviceTypes({Constants::IOS_DEVICE_TYPE, Constants::IOS_SIMULATOR_TYPE});
|
||||
setRepeatable(false);
|
||||
}
|
||||
};
|
||||
|
||||
class IosDeployConfigurationFactory : public DeployConfigurationFactory
|
||||
{
|
||||
public:
|
||||
@@ -76,7 +63,7 @@ public:
|
||||
addSupportedTargetDeviceType(Constants::IOS_DEVICE_TYPE);
|
||||
addSupportedTargetDeviceType(Constants::IOS_SIMULATOR_TYPE);
|
||||
setDefaultDisplayName(QCoreApplication::translate("Ios::Internal", "Deploy on iOS"));
|
||||
addInitialStep(IosDeployStep::stepId());
|
||||
addInitialStep(IosDeployStepFactory::stepId());
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user