ProjectExplorer: Enable factories to autodetect a specific toolchain

This is necessary to auto-detect the toolchain e.g. found in an existing
cmake or qbs build directory.

Change-Id: I1405d1337855d55fa0145e8b50a5864ff0d4231b
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Tobias Hunger
2017-02-07 13:13:06 +01:00
parent fa6ba28cc2
commit 578af1e701
2 changed files with 8 additions and 0 deletions

View File

@@ -319,6 +319,13 @@ QList<ToolChain *> ToolChainFactory::autoDetect(const QList<ToolChain *> &alread
return QList<ToolChain *>();
}
QList<ToolChain *> ToolChainFactory::autoDetect(const Utils::FileName &compilerPath, const Core::Id &language)
{
Q_UNUSED(compilerPath);
Q_UNUSED(language);
return QList<ToolChain *>();
}
bool ToolChainFactory::canCreate()
{
return false;