forked from qt-creator/qt-creator
WebAssembly: Avoid a use of IDevice::mapToGlobalPath()
Change-Id: I79a66caad9a344d1a79d7cf22073a39352f58282 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io>
This commit is contained in:
@@ -119,7 +119,7 @@ static Toolchains doAutoDetect(const ToolchainDetector &detector)
|
||||
|
||||
if (detector.device) {
|
||||
// Only detect toolchains from the emsdk installation device
|
||||
const FilePath deviceRoot = detector.device->mapToGlobalPath({});
|
||||
const FilePath deviceRoot = detector.device->rootPath();
|
||||
if (deviceRoot.host() != sdk.host())
|
||||
return {};
|
||||
}
|
||||
|
Reference in New Issue
Block a user