summaryrefslogtreecommitdiff
path: root/doc/reference
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2017-09-11 15:03:33 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2017-09-26 10:10:57 +0000
commit885bd2ec92251261a98df770caf9c0d7f29cb0d4 (patch)
treeaefca11550dcfee071296ed337f2bf3c79b68a2c /doc/reference
parentb6a5e43c143dab4bec349fb97d4a6c5589475197 (diff)
downloadqbs-885bd2ec92251261a98df770caf9c0d7f29cb0d4.tar.gz
Introduce Module.priority
Add the property Module.priority to be able to define an order of module instances. This is used to resolve conflicts in module instances. If there is more than one module instance available, the one with the highest numerical priority is chosen. [ChangeLog] The property Module.priority was added to provide a mechanism to resolve conflicts in module instances. Task-number: QBS-61 Change-Id: I6aeae91be742bb11a61345bb890992697bdf0a23 Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'doc/reference')
-rw-r--r--doc/reference/items/language/module.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/reference/items/language/module.qdoc b/doc/reference/items/language/module.qdoc
index 9956b3ac5..4548132db 100644
--- a/doc/reference/items/language/module.qdoc
+++ b/doc/reference/items/language/module.qdoc
@@ -210,6 +210,13 @@
\c Depends item had its \c required property set to \c false and the module was
not found.
\row
+ \li priority
+ \li int
+ \li \c 0
+ \li Defines the priority of this module instance. If there is more
+ than one module instance available for a module name, then
+ the module with the highest priority is chosen.
+ \row
\li setupBuildEnvironment
\li script
\li \c undefined