aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@theqtcompany.com>2016-08-03 15:29:08 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2016-08-04 14:01:30 +0000
commit9063b5256d741a163f2af8a4760f927346a5e0a1 (patch)
tree34c3260819474d99e7def65a5a0630b73ba1fc89 /doc
parent467c9550e7db454152e7bbb19e373fd1fafc86e2 (diff)
Deprecate the "moduleProperties" function
Ever since we introduced module merging, there has been no difference between moduleProperty() and moduleProperties(). Change-Id: I3f9a9df3f24bf971828e774a5f687356509df2ca Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/items/rule.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/reference/items/rule.qdoc b/doc/reference/items/rule.qdoc
index 659405912..a3eab44fb 100644
--- a/doc/reference/items/rule.qdoc
+++ b/doc/reference/items/rule.qdoc
@@ -103,10 +103,10 @@
}
if (product.moduleProperty('cpp', 'treatWarningsAsErrors'))
args.push('-Werror');
- var includePaths = product.moduleProperties('cpp', 'includePaths');
+ var includePaths = product.moduleProperty('cpp', 'includePaths');
for (i in includePaths)
args.push('-I' + includePaths[i]);
- var defines = product.moduleProperties('cpp', 'defines');
+ var defines = product.moduleProperty('cpp', 'defines');
for (i in defines)
args.push('-D' + defines[i]);
args.push('-c');