diff options
author | Christian Kandeler <christian.kandeler@qt.io> | 2023-09-22 10:06:50 +0200 |
---|---|---|
committer | Christian Kandeler <christian.kandeler@qt.io> | 2023-09-22 10:06:50 +0200 |
commit | 1670538f7200da983a24bf869358c6fb0dc46ebd (patch) | |
tree | 2527f07a0122b72da9aff7fc183cd9479031a297 | |
parent | 4c3b9ef8ee9200580235e708bfc6794576f9caa4 (diff) | |
parent | 12041c01b8247a05faa12e9d1a6678c8ba56afc5 (diff) |
Merge 2.1 into master
Change-Id: I90fe01f29faa7b3a53ff8a38137af08ea32b85bd
-rw-r--r-- | doc/reference/items/probe/binary-probe.qdoc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/reference/items/probe/binary-probe.qdoc b/doc/reference/items/probe/binary-probe.qdoc index 7c8cd2f42..919d0b89e 100644 --- a/doc/reference/items/probe/binary-probe.qdoc +++ b/doc/reference/items/probe/binary-probe.qdoc @@ -50,6 +50,7 @@ For example, BinaryProbe can be used to search for a protobuf compiler executable as follows: \code + // Assuming module is called "myproto" import qbs.File import qbs.Probes @@ -70,10 +71,10 @@ Rule { // rule input/outputs here... - // run executable + // run executable for the module called "myproto": prepare: { var args = // initialize arguments... - var cmd = new Command(executableFilePath, args); + var cmd = new Command(input.myproto.executableFilePath, args); cmd.highlight = "codegen"; cmd.description = "generating protobuf files for " + input.fileName; return [cmd]; |