aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-01-18 15:01:58 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2019-01-18 14:13:51 +0000
commit45a72cef8614829ef4d14fef682e533b6e523481 (patch)
tree58e19a994d22dac9025f1e5cf84df9a426370646 /doc
parent0be365894406cbca8ed54253419ea2ad6f961bdf (diff)
Fix outdated documentation
Configuration names must be prefixed with "config:" these days. Change-Id: I6e858caacc3e2ddad20fd5ba980848fafeb01928 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/qbs.qdoc12
1 files changed, 6 insertions, 6 deletions
diff --git a/doc/qbs.qdoc b/doc/qbs.qdoc
index 10191d78a..14787ffbf 100644
--- a/doc/qbs.qdoc
+++ b/doc/qbs.qdoc
@@ -1016,10 +1016,10 @@
You can set these properties on the command line or by using a profile.
\code
- $ qbs # qbs.buildVariant:debug, profile:<default profile> (or profile:none, if no default profile exists)
- $ qbs release # qbs.buildVariant:release, profile:<default profile>
- $ qbs debug release # builds two configurations of the project
- $ qbs profile:none # all module properties have their default values
+ $ qbs # qbs.buildVariant:debug, profile:<default profile> (or profile:none, if no default profile exists)
+ $ qbs config:release # qbs.buildVariant:release, profile:<default profile>
+ $ qbs config:debug config:release # builds two configurations of the project
+ $ qbs profile:none # all module properties have their default values
\endcode
To select files by build variant:
@@ -1243,7 +1243,7 @@
the \e Android profile, enter the following command:
\code
- qbs build profile:Android debug release
+ qbs build profile:Android config:debug config:release
\endcode
The position of the property assignment is important. In the example
@@ -1257,7 +1257,7 @@
\l{cpp::optimization}{cpp.optimization} is set to \c small for release only.
\code
- qbs build debug modules.cpp.treatWarningsAsErrors:true release modules.cpp.optimization:small
+ qbs build config:debug modules.cpp.treatWarningsAsErrors:true config:release modules.cpp.optimization:small
\endcode
*/