diff options
author | Jake Petroules <jake.petroules@qt.io> | 2017-06-06 16:11:31 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-06-07 16:04:33 +0000 |
commit | 71d8c61c29c33693373d410dd9b30feea788d7bb (patch) | |
tree | 475ac3653b80e13339b7d6121c6ee227cf6f6a0c /share/qbs/imports/qbs/Probes/PathProbe.qbs | |
parent | a6353f994c017eeb64a6c242ab0382cf05583477 (diff) |
PathProbe: provide candidate paths that were searched
These can be used in the construction of helpful error messages.
Change-Id: I24d2871b362a035c0071b845c8e4ef119d023905
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'share/qbs/imports/qbs/Probes/PathProbe.qbs')
-rw-r--r-- | share/qbs/imports/qbs/Probes/PathProbe.qbs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qbs/imports/qbs/Probes/PathProbe.qbs b/share/qbs/imports/qbs/Probes/PathProbe.qbs index 068fa03ff..9d5f1f287 100644 --- a/share/qbs/imports/qbs/Probes/PathProbe.qbs +++ b/share/qbs/imports/qbs/Probes/PathProbe.qbs @@ -44,6 +44,7 @@ Probe { property string pathListSeparator: qbs.pathListSeparator // Output + property stringList candidatePaths property string path property string filePath property string fileName @@ -53,6 +54,7 @@ Probe { pathSuffixes, platformPaths, environmentPaths, platformEnvironmentPaths, pathListSeparator); found = result.found; + candidatePaths = result.candidatePaths; path = result.path; filePath = result.filePath; fileName = result.fileName; |