ToolChainFactory: Add support for different languages

* Add a pure virtual method to get supportedLanguges with

Change-Id: Ida4445ca045c90fb9f7656a661af83e5b6801b30
Reviewed-by: Tim Jenssen <tim.jenssen@theqtcompany.com>
This commit is contained in:
Tobias Hunger
2016-07-12 11:33:17 +02:00
parent 1304b250eb
commit ca04c4c264
15 changed files with 62 additions and 0 deletions

View File

@@ -432,6 +432,11 @@ CustomToolChainFactory::CustomToolChainFactory()
setDisplayName(tr("Custom"));
}
QSet<ToolChain::Language> CustomToolChainFactory::supportedLanguages() const
{
return { ToolChain::Language::Cxx };
}
bool CustomToolChainFactory::canCreate()
{
return true;