diff --git a/src/plugins/remotelinux/makeinstallstep.cpp b/src/plugins/remotelinux/makeinstallstep.cpp index 13465b57254..56c22d4ff80 100644 --- a/src/plugins/remotelinux/makeinstallstep.cpp +++ b/src/plugins/remotelinux/makeinstallstep.cpp @@ -12,6 +12,7 @@ #include #include #include +#include #include #include #include @@ -23,8 +24,6 @@ #include #include -#include -#include #include #include @@ -39,6 +38,33 @@ const char CleanInstallRootAspectId[] = "RemoteLinux.MakeInstall.CleanInstallRoo const char FullCommandLineAspectId[] = "RemoteLinux.MakeInstall.FullCommandLine"; const char CustomCommandLineAspectId[] = "RemoteLinux.MakeInstall.CustomCommandLine"; +class MakeInstallStep : public MakeStep +{ +public: + MakeInstallStep(BuildStepList *parent, Id id); + +private: + bool fromMap(const QVariantMap &map) override; + QWidget *createConfigWidget() override; + bool init() override; + void finish(ProcessResult result) override; + bool isJobCountSupported() const override { return false; } + + FilePath installRoot() const; + bool cleanInstallRoot() const; + + void updateCommandFromAspect(); + void updateArgsFromAspect(); + void updateFullCommandLine(); + void updateFromCustomCommandLineAspect(); + + StringAspect *customCommandLineAspect() const; + + DeploymentData m_deploymentData; + bool m_noInstallTarget = false; + bool m_isCmakeProject = false; +}; + MakeInstallStep::MakeInstallStep(BuildStepList *parent, Id id) : MakeStep(parent, id) { m_makeCommandAspect.setVisible(false); diff --git a/src/plugins/remotelinux/makeinstallstep.h b/src/plugins/remotelinux/makeinstallstep.h index 3be2d5df979..564a262abcd 100644 --- a/src/plugins/remotelinux/makeinstallstep.h +++ b/src/plugins/remotelinux/makeinstallstep.h @@ -5,39 +5,10 @@ #include "remotelinux_export.h" -#include -#include +#include namespace RemoteLinux { -class REMOTELINUX_EXPORT MakeInstallStep : public ProjectExplorer::MakeStep -{ - Q_OBJECT -public: - MakeInstallStep(ProjectExplorer::BuildStepList *parent, Utils::Id id); - -private: - bool fromMap(const QVariantMap &map) override; - QWidget *createConfigWidget() override; - bool init() override; - void finish(Utils::ProcessResult result) override; - bool isJobCountSupported() const override { return false; } - - Utils::FilePath installRoot() const; - bool cleanInstallRoot() const; - - void updateCommandFromAspect(); - void updateArgsFromAspect(); - void updateFullCommandLine(); - void updateFromCustomCommandLineAspect(); - - Utils::StringAspect *customCommandLineAspect() const; - - ProjectExplorer::DeploymentData m_deploymentData; - bool m_noInstallTarget = false; - bool m_isCmakeProject = false; -}; - class REMOTELINUX_EXPORT MakeInstallStepFactory : public ProjectExplorer::BuildStepFactory {