forked from qt-creator/qt-creator
WebAssembly: Fix toolchain bundling
Change-Id: I6d555bef83f7c4b2e9fa9944a50427cdd26ce31b Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -184,6 +184,7 @@ public:
|
|||||||
setUserCreatable(true);
|
setUserCreatable(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private:
|
||||||
Toolchains autoDetect(const ToolchainDetector &detector) const override
|
Toolchains autoDetect(const ToolchainDetector &detector) const override
|
||||||
{
|
{
|
||||||
return doAutoDetect(detector);
|
return doAutoDetect(detector);
|
||||||
@@ -194,6 +195,11 @@ public:
|
|||||||
{
|
{
|
||||||
return GccToolchain::createConfigurationWidget(bundle);
|
return GccToolchain::createConfigurationWidget(bundle);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
FilePath correspondingCompilerCommand(const FilePath &srcPath, Id targetLang) const override
|
||||||
|
{
|
||||||
|
return GccToolchain::correspondingCompilerCommand(srcPath, targetLang, "emcc", "em++");
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
void setupWebAssemblyToolchain()
|
void setupWebAssemblyToolchain()
|
||||||
|
Reference in New Issue
Block a user