Docker: Fix searching compilers in custom directories

Previously, detection (mostly) only used path.

Change-Id: If382205c2ff39cabfe21953e877e152dc952a84c
Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
hjk
2022-03-14 16:37:57 +01:00
parent c865481068
commit a23c4ce014
8 changed files with 44 additions and 22 deletions

View File

@@ -126,7 +126,7 @@ void WebAssemblyToolChain::registerToolChains()
return f->supportedToolChainType() == Constants::WEBASSEMBLY_TOOLCHAIN_TYPEID;
});
QTC_ASSERT(factory, return);
for (auto toolChain : factory->autoDetect(ToolchainDetector({}, {})))
for (auto toolChain : factory->autoDetect(ToolchainDetector({}, {}, {})))
ToolChainManager::registerToolChain(toolChain);
// Let kits pick up the new toolchains