AppMan: Use device specific tool paths

This makes sure the RunConfiguration is correctly executed on the remote
device.
For steps executed on the host, a nullptr can be passed as device.

Change-Id: Ide5aa5a06402b137494c10108d09a4e7ffa32ec9
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
Dominik Holland
2024-01-24 09:25:12 +01:00
parent fdb0ba0389
commit 707886faac
4 changed files with 5 additions and 8 deletions

View File

@@ -49,9 +49,7 @@ AppManagerInstallPackageStep::AppManagerInstallPackageStep(BuildStepList *bsl, I
{
setDisplayName(Tr::tr("Install Application Manager package"));
controller.setDefaultValue(getToolFilePath(Constants::APPMAN_CONTROLLER,
kit(),
DeviceKitAspect::device(kit())));
controller.setDefaultValue(getToolFilePath(Constants::APPMAN_CONTROLLER, kit()));
arguments.setSettingsKey(SETTINGSPREFIX "Arguments");
arguments.setResetter([] { return QLatin1String(ArgumentsDefault); });