aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/applicationlauncher.h
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2021-02-15 16:55:28 +0100
committerhjk <hjk@qt.io>2021-02-22 13:38:25 +0000
commitc4b7da9ab286c9c18e474b6c63938f9ac0045c37 (patch)
treeaa46055f5e09b1ee1ffa0e51ed93c939dcffea05 /src/plugins/projectexplorer/applicationlauncher.h
parent9bc9a4d3764b0f74d8c4ffcec513ec336ec1d94c (diff)
ProjectExplorer/Debugger: Add a 'Run as root' option for Unix hosts
For local run and GDB debug, with or without terminal. Task-number: QTCREATORBUG-2831 Task-number: QTCREATORBUG-25330 Change-Id: I9b5d2156bcffea4f358474ecdbcad580a4419917 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/applicationlauncher.h')
-rw-r--r--src/plugins/projectexplorer/applicationlauncher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/applicationlauncher.h b/src/plugins/projectexplorer/applicationlauncher.h
index 68376fece0..ca93c69abd 100644
--- a/src/plugins/projectexplorer/applicationlauncher.h
+++ b/src/plugins/projectexplorer/applicationlauncher.h
@@ -54,6 +54,7 @@ public:
void setProcessChannelMode(QProcess::ProcessChannelMode mode);
void setUseTerminal(bool on);
+ void setRunAsRoot(bool on);
void start(const Runnable &runnable);
void start(const Runnable &runnable, const IDevice::ConstPtr &device);
void stop();