summaryrefslogtreecommitdiff
path: root/src/plugins/remotelinux/remotelinuxplugin.cpp
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-11-28 17:41:50 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-12-13 15:02:27 +0000
commit881ad3401cde08203d9624b6e6705c8db3454322 (patch)
treeb4bf2f24ab7282d1e07ec518f57b04f1d9a486d2 /src/plugins/remotelinux/remotelinuxplugin.cpp
parent299d0f0e4f79d3c514f4cc18f6665d2f6ad24332 (diff)
downloadqt-creator-881ad3401cde08203d9624b6e6705c8db3454322.tar.gz
RemoteLinux: Kill remote app before deployment
It's unlikely you want to have two instances running at the same time, and SFTP does not let you overwrite a running executable anyway. Task-number: QTCREATORBUG-19326 Change-Id: Iac48d28f538307fc1764f973ce0c9959ef89af03 Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/remotelinux/remotelinuxplugin.cpp')
-rw-r--r--src/plugins/remotelinux/remotelinuxplugin.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/remotelinux/remotelinuxplugin.cpp b/src/plugins/remotelinux/remotelinuxplugin.cpp
index a72bfc5e94..509caab5bb 100644
--- a/src/plugins/remotelinux/remotelinuxplugin.cpp
+++ b/src/plugins/remotelinux/remotelinuxplugin.cpp
@@ -38,6 +38,7 @@
#include "remotelinuxcheckforfreediskspacestep.h"
#include "remotelinuxdeployconfiguration.h"
#include "remotelinuxcustomcommanddeploymentstep.h"
+#include "remotelinuxkillappstep.h"
#include "tarpackagecreationstep.h"
#include "uploadandinstalltarpackagestep.h"
@@ -94,6 +95,7 @@ bool RemoteLinuxPlugin::initialize(const QStringList &arguments,
addAutoReleasedObject(new GenericLinuxDeployStepFactory
<GenericRemoteLinuxCustomCommandDeploymentStep>);
addAutoReleasedObject(new GenericLinuxDeployStepFactory<RemoteLinuxCheckForFreeDiskSpaceStep>);
+ addAutoReleasedObject(new GenericLinuxDeployStepFactory<RemoteLinuxKillAppStep>);
addAutoReleasedObject(new EmbeddedLinuxQtVersionFactory);