forked from qt-creator/qt-creator
McuSupport: Add flag in JSON for adding a package path to system path
An entry called "addToSystemPath" was added to JSON files to signal whether the corresponding path should also be added to the system path. Task-number: UL-6409 Change-Id: I2d7ba38b3905d67475a3c482692e4f8e21d4141e Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Piotr Mućko <piotr.mucko@qt.io> Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -649,7 +649,7 @@ static PackageDescription parsePackage(const QJsonObject &cmakeEntry)
|
||||
FilePath::fromUserInput(cmakeEntry["validation"].toString()),
|
||||
versions,
|
||||
parseVersionDetection(cmakeEntry),
|
||||
false};
|
||||
cmakeEntry["addToSystemPath"].toBool()};
|
||||
}
|
||||
|
||||
static QList<PackageDescription> parsePackages(const QJsonArray &cmakeEntries)
|
||||
|
||||
Reference in New Issue
Block a user