summaryrefslogtreecommitdiff
path: root/src/plugins/projectexplorer/runconfiguration.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@qt.io>2022-11-16 13:28:39 +0100
committerDavid Schulz <david.schulz@qt.io>2022-11-16 14:01:55 +0000
commitc1edc1e9df1b9d107e64e8da421e253362505e2b (patch)
tree32f5a817d8715d13ff99d05e322edbedb0c3ae20 /src/plugins/projectexplorer/runconfiguration.cpp
parentbe1aa6abed6009012fc5812ec1942f4c3fa56c86 (diff)
downloadqt-creator-c1edc1e9df1b9d107e64e8da421e253362505e2b.tar.gz
ProjectExplorer: Fix starting a docker project on windows
... by mapping the executable and working directory to the target device. Change-Id: I0a220fe9bae980cb279fae776962f23335eac248 Reviewed-by: Marcus Tillmanns <marcus.tillmanns@qt.io> Reviewed-by: hjk <hjk@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/runconfiguration.cpp')
-rw-r--r--src/plugins/projectexplorer/runconfiguration.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/runconfiguration.cpp b/src/plugins/projectexplorer/runconfiguration.cpp
index d4e6784dda..a459148bf2 100644
--- a/src/plugins/projectexplorer/runconfiguration.cpp
+++ b/src/plugins/projectexplorer/runconfiguration.cpp
@@ -392,7 +392,7 @@ Runnable RunConfiguration::runnable() const
Runnable r;
r.command = commandLine();
if (auto workingDirectoryAspect = aspect<WorkingDirectoryAspect>())
- r.workingDirectory = workingDirectoryAspect->workingDirectory();
+ r.workingDirectory = workingDirectoryAspect->workingDirectory().onDevice(r.command.executable());
if (auto environmentAspect = aspect<EnvironmentAspect>())
r.environment = environmentAspect->environment();
if (m_runnableModifier)