forked from qt-creator/qt-creator
ProjectExplorer: Shift full FilePath creation into Executable aspect
Less need for correction: When a target is given, the executable produced by the aspect will be on the target device. Change-Id: I86c38e9f9fa5b4d4fe9b2ef7f21a0b3aa5b28670 Reviewed-by: Christian Stenger <christian.stenger@qt.io> Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -217,9 +217,6 @@ RunConfiguration::RunConfiguration(Target *target, Utils::Id id)
|
||||
if (const auto argumentsAspect = aspect<ArgumentsAspect>())
|
||||
arguments = argumentsAspect->arguments(macroExpander());
|
||||
|
||||
if (IDevice::ConstPtr dev = DeviceKitAspect::device(target->kit()))
|
||||
executable = dev->filePath(executable.path());
|
||||
|
||||
return CommandLine{executable, arguments, CommandLine::Raw};
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user