AppMan: Add support for B2Qt devices

Change-Id: Icb18968b41a093a1330021b720252962aceb0bc6
Reviewed-by: hjk <hjk@qt.io>
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
Dominik Holland
2024-01-24 10:18:03 +01:00
parent ee54315791
commit 32d31b6eea
2 changed files with 5 additions and 0 deletions

View File

@@ -14,6 +14,7 @@
#include <projectexplorer/target.h>
#include <projectexplorer/projectexplorerconstants.h>
#include <boot2qt/qdbconstants.h>
#include <remotelinux/remotelinux_constants.h>
using namespace ProjectExplorer;
@@ -35,6 +36,7 @@ public:
setDefaultDisplayName(Tr::tr("Automatic AppMan Deploy Configuration"));
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
addSupportedTargetDeviceType(RemoteLinux::Constants::GenericLinuxOsType);
addSupportedTargetDeviceType(Qdb::Constants::QdbLinuxOsType);
addInitialStep(Constants::CMAKE_PACKAGE_STEP_ID);
addInitialStep(Constants::DEPLOY_PACKAGE_STEP_ID, isNecessaryToDeploy);

View File

@@ -16,6 +16,7 @@
#include <projectexplorer/projectexplorerconstants.h>
#include <projectexplorer/target.h>
#include <boot2qt/qdbconstants.h>
#include <remotelinux/remotelinux_constants.h>
#include <utils/algorithm.h>
@@ -80,6 +81,7 @@ public:
registerRunConfiguration<AppManagerRunConfiguration>(Constants::RUNCONFIGURATION_ID);
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
addSupportedTargetDeviceType(RemoteLinux::Constants::GenericLinuxOsType);
addSupportedTargetDeviceType(Qdb::Constants::QdbLinuxOsType);
}
virtual bool supportsBuildKey(Target *target, const QString &key) const final
@@ -140,6 +142,7 @@ public:
registerRunConfiguration<AppManagerRunAndDebugConfiguration>(Constants::RUNANDDEBUGCONFIGURATION_ID);
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
addSupportedTargetDeviceType(RemoteLinux::Constants::GenericLinuxOsType);
addSupportedTargetDeviceType(Qdb::Constants::QdbLinuxOsType);
}
virtual bool filterTarget(const TargetInformation &ti) const final