diff options
author | Alessandro Portale <alessandro.portale@qt.io> | 2023-08-14 16:39:02 +0200 |
---|---|---|
committer | Alessandro Portale <alessandro.portale@qt.io> | 2023-08-14 14:41:35 +0000 |
commit | 4605bf57dd50a221c2228c90656fd43a0ec68c56 (patch) | |
tree | 261bc4e1232581867ac9e4f95abaf2787260b852 | |
parent | 6f9a97fd137e470fc2ac2c9a7772bc64170efa2d (diff) |
CMakeProjectManager: Deselect "Stage for installation" for BareMetal
There is no CMake install target for BareMetal. Therefore, the "Stage
for installation" option needs to be deseleceted, like it is being done
for other devices.
Amends: 2387e9e37aeb5b4acf6b2b1bdb1f8f047e23c1d4
Fixes: QTCREATORBUG-29293
Change-Id: Ic0e61ab19318f6383f55e6330b7559a734706a0e
Reviewed-by: hjk <hjk@qt.io>
-rw-r--r-- | src/plugins/cmakeprojectmanager/cmakebuildstep.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp index 33e2b68232..f52db4b691 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp @@ -14,6 +14,8 @@ #include <android/androidconstants.h> +#include <baremetal/baremetalconstants.h> + #include <ios/iosconstants.h> #include <webassembly/webassemblyconstants.h> @@ -189,6 +191,7 @@ static bool supportsStageForInstallation(const Kit *kit) && runDevice->type() != Android::Constants::ANDROID_DEVICE_TYPE && runDevice->type() != Ios::Constants::IOS_DEVICE_TYPE && runDevice->type() != Ios::Constants::IOS_SIMULATOR_TYPE + && runDevice->type() != BareMetal::Constants::BareMetalOsType && runDevice->type() != WebAssembly::Constants::WEBASSEMBLY_DEVICE_TYPE; } |