Enable run control for mingw toolchains.

This is supported now.

Change-Id: If56be39138f8cb6c10e486e4a48e35964bdc0a94
Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
Christian Kandeler
2015-01-30 14:47:47 +01:00
parent 43d6c7672a
commit c632be5c92

View File

@@ -62,6 +62,7 @@ bool ClangStaticAnalyzerRunControlFactory::canRun(RunConfiguration *runConfigura
ToolChain *toolChain = ToolChainKitInformation::toolChain(kit); ToolChain *toolChain = ToolChainKitInformation::toolChain(kit);
return toolChain && (toolChain->type() == QLatin1String("clang") return toolChain && (toolChain->type() == QLatin1String("clang")
|| toolChain->type() == QLatin1String("gcc") || toolChain->type() == QLatin1String("gcc")
|| toolChain->type() == QLatin1String("mingw")
|| toolChain->type() == QLatin1String("msvc")); || toolChain->type() == QLatin1String("msvc"));
} }