path: root/doc
diff options
authorChristian Kandeler <christian.kandeler@qt.io>2019-01-17 15:17:57 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-01-18 08:48:47 +0000
commit9e55ddfa97619f7983ea66213ce6764ee0aed2d9 (patch)
treed0d2f31f5905d979b99de17d504de132a76e5ec9 /doc
parent8c1a6dd96234c0a4bb0b4905341f6faeaa232108 (diff)
Do not ignore file dependencies in the Scanner item
We used to look only at artifacts when scanning recursively. Change-Id: I39f968c05dd3e6af362bf3bb98380814b01de172 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc')
1 files changed, 5 insertions, 1 deletions
diff --git a/doc/reference/items/language/scanner.qdoc b/doc/reference/items/language/scanner.qdoc
index 90e5ad63a..9ec575684 100644
--- a/doc/reference/items/language/scanner.qdoc
+++ b/doc/reference/items/language/scanner.qdoc
@@ -98,7 +98,11 @@
The code in this script is treated as a function with the signature
- \c{function(project, product, input)}.
+ \c{function(project, product, input, filePath)}, where \c input is
+ the artifact at which the scan originated, and \c filePath is the
+ currently scanned file. For non-recursive scans, \c filePath is
+ always equal to \c{input.filePath}.