forked from qt-creator/qt-creator
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: 2387e9e37a
Fixes: QTCREATORBUG-29293
Change-Id: Ic0e61ab19318f6383f55e6330b7559a734706a0e
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user