forked from qt-creator/qt-creator
McuSupport: Support globbing in default paths
With this change default paths containing globbing characters will be expanded to an available path. example: "sdk-*" will be replaced with "sdk-1.2.3" if the latter is available. To test the wildcards and make sure it works with QtCreator macros a fake_kit was added containing fake packages. Task-number: QTCREATORBUG-26900 Change-Id: I31440d24e42a6170fc5f1905f884bb3be43c57bc Reviewed-by: Eike Ziller <eike.ziller@qt.io>
This commit is contained in:
@@ -593,7 +593,7 @@ McuSdkRepository targetsFromDescriptions(const QList<McuTargetDescription> &desc
|
||||
}
|
||||
|
||||
McuSdkRepository repo{mcuTargets, mcuPackages};
|
||||
repo.expandVariables();
|
||||
repo.expandVariablesAndWildcards();
|
||||
|
||||
return repo;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user