From 6f9a97fd137e470fc2ac2c9a7772bc64170efa2d Mon Sep 17 00:00:00 2001 From: Alessandro Portale Date: Mon, 14 Aug 2023 16:24:37 +0200 Subject: [PATCH] CMakeProjectManager: Deselect "Stage for installation" for iOS Simulator There is no CMake install target for iOS Simulator. Therefore, the "Stage for installation" option needs to be deseleceted, like it is being done for iOS device. Amends: 2387e9e37aeb5b4acf6b2b1bdb1f8f047e23c1d4 Fixes: QTCREATORBUG-29293 Fixes: QTCREATORBUG-29475 Change-Id: I6406446534c1ddedbf01cdab4d074bddc44dc495 Reviewed-by: hjk --- src/plugins/cmakeprojectmanager/cmakebuildstep.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp index 94f2bf912d6..33e2b682325 100644 --- a/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp +++ b/src/plugins/cmakeprojectmanager/cmakebuildstep.cpp @@ -188,6 +188,7 @@ static bool supportsStageForInstallation(const Kit *kit) return runDevice->id() != buildDevice->id() && runDevice->type() != Android::Constants::ANDROID_DEVICE_TYPE && runDevice->type() != Ios::Constants::IOS_DEVICE_TYPE + && runDevice->type() != Ios::Constants::IOS_SIMULATOR_TYPE && runDevice->type() != WebAssembly::Constants::WEBASSEMBLY_DEVICE_TYPE; }