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>
This commit is contained in:
Marcus Tillmanns
2022-07-12 11:34:53 +02:00
parent 872494fc4b
commit b8f66276fd

View File

@@ -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>();