forked from qt-creator/qt-creator
Utils: Add path search function to environment
In contrast to Environment::searchInPath This function returns _all_ executables found in the path variable. Change-Id: Ic62b8f70d0690ff9a3261db3ead2c919a2486c89 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -66,6 +66,9 @@ public:
|
||||
FilePath searchInPath(const QString &executable,
|
||||
const FilePathList &additionalDirs = FilePathList(),
|
||||
const PathFilter &func = PathFilter()) const;
|
||||
FilePathList findAllInPath(const QString &executable,
|
||||
const FilePathList &additionalDirs = FilePathList(),
|
||||
const PathFilter &func = PathFilter()) const;
|
||||
|
||||
FilePathList path() const;
|
||||
FilePathList pathListValue(const QString &varName) const;
|
||||
|
||||
Reference in New Issue
Block a user