forked from qt-creator/qt-creator
BareMetal: Adapt to change in FilePath
Change-Id: I4766ccd8fc7121af1045d2fc7d2e730da0a9d44b Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -462,7 +462,7 @@ Toolchains IarToolChainFactory::autoDetect(const ToolchainDetector &detector) co
|
||||
if (!compilerPath.isEmpty()) {
|
||||
// Build full compiler path.
|
||||
compilerPath += entry.subExePath;
|
||||
const FilePath fn = FilePath::fromString(compilerPath);
|
||||
const FilePath fn = FilePath::fromUserInput(compilerPath);
|
||||
if (compilerExists(fn)) {
|
||||
// Note: threeLevelKey is a guessed toolchain version.
|
||||
candidates.push_back({fn, threeLevelKey});
|
||||
|
@@ -596,7 +596,7 @@ Toolchains KeilToolChainFactory::autoDetect(const ToolchainDetector &detector) c
|
||||
if (!productKey.startsWith("App"))
|
||||
continue;
|
||||
registry.beginGroup(productKey);
|
||||
const FilePath productPath(FilePath::fromString(registry.value("ProductDir")
|
||||
const FilePath productPath(FilePath::fromUserInput(registry.value("ProductDir")
|
||||
.toString()));
|
||||
// Fetch the toolchain executable path.
|
||||
FilePath compilerPath;
|
||||
|
Reference in New Issue
Block a user