forked from qt-creator/qt-creator
ProjectExplorer: Pass device to ToolChain::autodetect
Currently unused, will be useful to detect toolchains in docker containers. Change-Id: I0fd7643969ab02c05839332a436147ffb242635d Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -419,7 +419,7 @@ static ToolChain *iarToolChain(Id language)
|
||||
return f->supportedToolChainType() == BareMetal::Constants::IAREW_TOOLCHAIN_TYPEID;
|
||||
});
|
||||
if (iarFactory) {
|
||||
const QList<ToolChain*> detected = iarFactory->autoDetect(QList<ToolChain*>());
|
||||
const QList<ToolChain*> detected = iarFactory->autoDetect({}, {});
|
||||
for (auto tc: detected) {
|
||||
if (tc->language() == language) {
|
||||
toolChain = tc;
|
||||
|
||||
Reference in New Issue
Block a user