diff options
author | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2022-07-12 11:34:53 +0200 |
---|---|---|
committer | Marcus Tillmanns <marcus.tillmanns@qt.io> | 2022-07-12 10:36:22 +0000 |
commit | b8f66276fd7a33452a51715c1a3cd8e4038a0d80 (patch) | |
tree | 69d7008d8170df44ba33b77209780b0e5f1bb716 | |
parent | 872494fc4be27a24517f6e9a25aa5fe2dd9e9494 (diff) | |
download | qt-creator-b8f66276fd7a33452a51715c1a3cd8e4038a0d80.tar.gz |
docker: Fix executable aspect selector
The desktop run configuration used the wrong selector
when creating the ExecutableAspect. This meant that
the executable would always try to run on the host
instead of in the docker container.
Change-Id: I10861c2115edeeab95d4931ba118afd83cdf1337
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | src/plugins/projectexplorer/desktoprunconfiguration.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/desktoprunconfiguration.cpp b/src/plugins/projectexplorer/desktoprunconfiguration.cpp index 983d58edaf..ab5322647c 100644 --- a/src/plugins/projectexplorer/desktoprunconfiguration.cpp +++ b/src/plugins/projectexplorer/desktoprunconfiguration.cpp @@ -68,7 +68,7 @@ DesktopRunConfiguration::DesktopRunConfiguration(Target *target, Id id, Kind kin { auto envAspect = addAspect<LocalEnvironmentAspect>(target); - addAspect<ExecutableAspect>(target, ExecutableAspect::HostDevice); + addAspect<ExecutableAspect>(target, ExecutableAspect::RunDevice); addAspect<ArgumentsAspect>(macroExpander()); addAspect<WorkingDirectoryAspect>(macroExpander(), envAspect); addAspect<TerminalAspect>(); |