forked from qt-creator/qt-creator
ProjectExplorer: Promote CMakeToolChainData to a global structure
... and use it in ToolChainFactory::detectForImport() overloads. Change-Id: I107b9d5e185580b8fbef4c6e0233fdae5d253506 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -438,15 +438,14 @@ const QList<ToolChainFactory *> ToolChainFactory::allToolChainFactories()
|
||||
|
||||
QList<ToolChain *> ToolChainFactory::autoDetect(const QList<ToolChain *> &alreadyKnown)
|
||||
{
|
||||
Q_UNUSED(alreadyKnown);
|
||||
return QList<ToolChain *>();
|
||||
Q_UNUSED(alreadyKnown)
|
||||
return {};
|
||||
}
|
||||
|
||||
QList<ToolChain *> ToolChainFactory::detectForImport(const Utils::FilePath &compilerPath, const Core::Id &language)
|
||||
QList<ToolChain *> ToolChainFactory::detectForImport(const ToolChainDescription &tcd)
|
||||
{
|
||||
Q_UNUSED(compilerPath);
|
||||
Q_UNUSED(language);
|
||||
return QList<ToolChain *>();
|
||||
Q_UNUSED(tcd)
|
||||
return {};
|
||||
}
|
||||
|
||||
bool ToolChainFactory::canCreate() const
|
||||
|
||||
Reference in New Issue
Block a user