Skip to content
Snippets Groups Projects
Commit ac93e973 authored by Daniel Teske's avatar Daniel Teske
Browse files

CMakeProjectManager: Only supports desktop kits


Task-number: QTCREATORBUG-9340

Change-Id: I1e209cc96bf415fe065520caa51f90d4f5ecf134
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent f93758b8
No related branches found
No related tags found
No related merge requests found
...@@ -178,6 +178,9 @@ QList<GeneratorInfo> GeneratorInfo::generatorInfosFor(ProjectExplorer::Kit *k, N ...@@ -178,6 +178,9 @@ QList<GeneratorInfo> GeneratorInfo::generatorInfosFor(ProjectExplorer::Kit *k, N
ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainKitInformation::toolChain(k); ProjectExplorer::ToolChain *tc = ProjectExplorer::ToolChainKitInformation::toolChain(k);
if (!tc) if (!tc)
return results; return results;
Core::Id deviceType = ProjectExplorer::DeviceTypeKitInformation::deviceTypeId(k);
if (deviceType != ProjectExplorer::Constants::DESKTOP_DEVICE_TYPE)
return results;
ProjectExplorer::Abi targetAbi = tc->targetAbi(); ProjectExplorer::Abi targetAbi = tc->targetAbi();
if (n != ForceNinja) { if (n != ForceNinja) {
if (targetAbi.os() == ProjectExplorer::Abi::WindowsOS) { if (targetAbi.os() == ProjectExplorer::Abi::WindowsOS) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment