aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/devcontainer
diff options
context:
space:
mode:
authorMarcus Tillmanns <[email protected]>2025-07-31 06:58:28 +0200
committerMarcus Tillmanns <[email protected]>2025-08-21 14:13:23 +0000
commit71103d09332db7f5f8d08454e24aa14b02688394 (patch)
tree716fecbc84c32dac9314f976919576e3c0c39846 /src/plugins/devcontainer
parenta1a7b1b468f360a84bec67836c5aaf345a3184ed (diff)
ProjectExplorer: Introduce executionTypeHEADmaster
ExecutionType links the way that an executable can be started with a factory that implements the way to start it. The Type is set by the factory of the run device since it can tell how an executable can be started on it. Change-Id: I84d626679337f327444f4f4a654bd832a2f2ff6c Reviewed-by: Christian Kandeler <[email protected]> Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/devcontainer')
-rw-r--r--src/plugins/devcontainer/devcontainerdevice.cpp1
-rw-r--r--src/plugins/devcontainer/devcontainerplugin.cpp2
2 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/devcontainer/devcontainerdevice.cpp b/src/plugins/devcontainer/devcontainerdevice.cpp
index 0259dd8f08a..74aa0e8be45 100644
--- a/src/plugins/devcontainer/devcontainerdevice.cpp
+++ b/src/plugins/devcontainer/devcontainerdevice.cpp
@@ -18,6 +18,7 @@
#include <projectexplorer/devicesupport/devicekitaspects.h>
#include <projectexplorer/kitaspect.h>
#include <projectexplorer/kitmanager.h>
+#include <projectexplorer/projectexplorerconstants.h>
#include <tasking/conditional.h>
diff --git a/src/plugins/devcontainer/devcontainerplugin.cpp b/src/plugins/devcontainer/devcontainerplugin.cpp
index 5c8c01a2dd1..e737095ccd3 100644
--- a/src/plugins/devcontainer/devcontainerplugin.cpp
+++ b/src/plugins/devcontainer/devcontainerplugin.cpp
@@ -17,6 +17,7 @@
#include <projectexplorer/devicesupport/idevicefactory.h>
#include <projectexplorer/kitmanager.h>
#include <projectexplorer/project.h>
+#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/projectmanager.h>
#include <utils/fsengine/fsengine.h>
@@ -42,6 +43,7 @@ public:
{
setDisplayName(Tr::tr("Development Container Device"));
setIcon(QIcon());
+ setExecutionTypeId(ProjectExplorer::Constants::STDPROCESS_EXECUTION_TYPE_ID);
}
};