forked from qt-creator/qt-creator
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:
@@ -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>();
|
||||
|
Reference in New Issue
Block a user