forked from qt-creator/qt-creator
McuSupport: Use FilePath in version detector
Change-Id: I54d04881c0b759caeaa83156c606a539369f482b Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Christiaan Janssen <christiaan.janssen@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -213,7 +213,7 @@ public:
|
||||
// feature of the run configuration. Otherwise, we just prepend the path, here.
|
||||
if (mcuTarget->toolChainPackage()->isDesktopToolchain()
|
||||
&& !CMakeProjectManager::CMakeToolManager::defaultCMakeTool()->hasFileApi())
|
||||
pathAdditions.append(qtForMCUsSdkPackage->path().pathAppended("bin").toUserOutput());
|
||||
pathAdditions.append((qtForMCUsSdkPackage->path() / "bin").toUserOutput());
|
||||
|
||||
auto processPackage = [&pathAdditions](const McuPackagePtr &package) {
|
||||
if (package->isAddToSystemPath())
|
||||
|
||||
Reference in New Issue
Block a user