aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/projectexplorer/customtoolchain.cpp
diff options
context:
space:
mode:
authorTobias Hunger <tobias.hunger@qt.io>2016-07-12 11:33:17 +0200
committerTobias Hunger <tobias.hunger@qt.io>2016-07-14 15:33:40 +0000
commitca04c4c264220c3a42acb7dca20b5c7765faf4f5 (patch)
tree649d493bd5f6048e14da7e90633ee3b908f19e26 /src/plugins/projectexplorer/customtoolchain.cpp
parent1304b250ebf06f1dcc4f45b5e5fe63f616cbb992 (diff)
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>
Diffstat (limited to 'src/plugins/projectexplorer/customtoolchain.cpp')
-rw-r--r--src/plugins/projectexplorer/customtoolchain.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/plugins/projectexplorer/customtoolchain.cpp b/src/plugins/projectexplorer/customtoolchain.cpp
index c715e8d6ef..7aafa808d5 100644
--- a/src/plugins/projectexplorer/customtoolchain.cpp
+++ b/src/plugins/projectexplorer/customtoolchain.cpp
@@ -432,6 +432,11 @@ CustomToolChainFactory::CustomToolChainFactory()
setDisplayName(tr("Custom"));
}
+QSet<ToolChain::Language> CustomToolChainFactory::supportedLanguages() const
+{
+ return { ToolChain::Language::Cxx };
+}
+
bool CustomToolChainFactory::canCreate()
{
return true;