WebAssembly: Fix toolchain bundling

Change-Id: I6d555bef83f7c4b2e9fa9944a50427cdd26ce31b
Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
Christian Kandeler
2024-09-18 11:20:50 +02:00
parent 245e889b6f
commit cea97fb6f0

View File

@@ -184,6 +184,7 @@ public:
setUserCreatable(true);
}
private:
Toolchains autoDetect(const ToolchainDetector &detector) const override
{
return doAutoDetect(detector);
@@ -194,6 +195,11 @@ public:
{
return GccToolchain::createConfigurationWidget(bundle);
}
FilePath correspondingCompilerCommand(const FilePath &srcPath, Id targetLang) const override
{
return GccToolchain::correspondingCompilerCommand(srcPath, targetLang, "emcc", "em++");
}
};
void setupWebAssemblyToolchain()