summaryrefslogtreecommitdiff
path: root/src/plugins/boot2qt/qdbplugin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/boot2qt/qdbplugin.cpp')
-rw-r--r--src/plugins/boot2qt/qdbplugin.cpp18
1 files changed, 11 insertions, 7 deletions
diff --git a/src/plugins/boot2qt/qdbplugin.cpp b/src/plugins/boot2qt/qdbplugin.cpp
index cad10b8ce0..cf6f67ebbd 100644
--- a/src/plugins/boot2qt/qdbplugin.cpp
+++ b/src/plugins/boot2qt/qdbplugin.cpp
@@ -27,7 +27,8 @@
#include "device-detection/devicedetector.h"
#include "qdbdeployconfigurationfactory.h"
-#include "qdbdeploystepfactory.h"
+#include "qdbstopapplicationstep.h"
+#include "qdbmakedefaultappstep.h"
#include "qdbdevicedebugsupport.h"
#include "qdbqtversion.h"
#include "qdbrunconfiguration.h"
@@ -44,9 +45,10 @@
#include <qtsupport/qtversionfactory.h>
-#include <remotelinux/remotelinuxcheckforfreediskspacestep.h>
#include <remotelinux/genericdirectuploadstep.h>
#include <remotelinux/makeinstallstep.h>
+#include <remotelinux/remotelinuxcheckforfreediskspacestep.h>
+#include <remotelinux/remotelinux_constants.h>
#include <utils/hostosinfo.h>
#include <utils/fileutils.h>
@@ -153,9 +155,9 @@ template <class Step>
class QdbDeployStepFactory : public ProjectExplorer::BuildStepFactory
{
public:
- QdbDeployStepFactory()
+ explicit QdbDeployStepFactory(Core::Id id)
{
- registerStep<Step>(Step::stepId());
+ registerStep<Step>(id);
setDisplayName(Step::displayName());
setSupportedConfiguration(Constants::QdbDeployConfigurationId);
setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_DEPLOY);
@@ -175,9 +177,11 @@ public:
QdbMakeDefaultAppStepFactory m_makeDefaultAppStepFactory;
QdbDeployStepFactory<RemoteLinux::RemoteLinuxCheckForFreeDiskSpaceStep>
- m_checkForFreeDiskSpaceStepFactory;
- QdbDeployStepFactory<RemoteLinux::GenericDirectUploadStep> m_directUploadStepFactory;
- QdbDeployStepFactory<RemoteLinux::MakeInstallStep> m_makeInstallStepFactory;
+ m_checkForFreeDiskSpaceStepFactory{RemoteLinux::Constants::CheckForFreeDiskSpaceId};
+ QdbDeployStepFactory<RemoteLinux::GenericDirectUploadStep>
+ m_directUploadStepFactory{RemoteLinux::Constants::DirectUploadStepId};
+ QdbDeployStepFactory<RemoteLinux::MakeInstallStep>
+ m_makeInstallStepFactory{RemoteLinux::Constants::MakeInstallStepId};
const QList<Core::Id> supportedRunConfigs {
m_runConfigFactory.id(),