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