forked from qt-creator/qt-creator
AppMan: Fix crash when using a qmlproject
Limit the Deploy Configuration and the CMake step to CMake projects. Change-Id: If198dc2e4277861f2aa9183c5eeed0cc1d40727c Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -44,6 +44,7 @@ public:
|
||||
|
||||
setDisplayName(Tr::tr("Create Application Manager package with CMake"));
|
||||
setSupportedStepList(ProjectExplorer::Constants::BUILDSTEPS_DEPLOY);
|
||||
setSupportedProjectType(CMakeProjectManager::Constants::CMAKE_PROJECT_ID);
|
||||
}
|
||||
};
|
||||
|
||||
|
@@ -16,6 +16,7 @@
|
||||
|
||||
#include <boot2qt/qdbconstants.h>
|
||||
#include <remotelinux/remotelinux_constants.h>
|
||||
#include <cmakeprojectmanager/cmakeprojectconstants.h>
|
||||
|
||||
using namespace ProjectExplorer;
|
||||
|
||||
@@ -37,6 +38,7 @@ public:
|
||||
addSupportedTargetDeviceType(ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE);
|
||||
addSupportedTargetDeviceType(RemoteLinux::Constants::GenericLinuxOsType);
|
||||
addSupportedTargetDeviceType(Qdb::Constants::QdbLinuxOsType);
|
||||
setSupportedProjectType(CMakeProjectManager::Constants::CMAKE_PROJECT_ID);
|
||||
|
||||
addInitialStep(Constants::CMAKE_PACKAGE_STEP_ID);
|
||||
addInitialStep(Constants::DEPLOY_PACKAGE_STEP_ID, isNecessaryToDeploy);
|
||||
|
Reference in New Issue
Block a user