aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-03-09 17:26:10 +0100
committerChristian Kandeler <christian.kandeler@qt.io>2017-03-31 08:04:22 +0000
commit24000d556fefdb3dcd4103d3d1679429434e6f58 (patch)
tree2bba620fe4ab8c94035700a02f4b8c2aa5be2573 /doc
parent03fa92611c6e3472ca9acd722e029fe5c5a18d79 (diff)
Allow running qbs without a profile
When no profile is given and no default one exists, simply use the modules' default values. The most relevant effect of this is that users can now build for the host platform by simply typing "qbs" without having done any manual setup, if there is a compiler in the PATH. [ChangeLog] It is no longer strictly required to provide a profile. Change-Id: Ifee09d2653dfbd4ea06c59248d78e376da2f217b Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'doc')
-rw-r--r--doc/qbs.qdoc4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/qbs.qdoc b/doc/qbs.qdoc
index 7a644a53d..bea692338 100644
--- a/doc/qbs.qdoc
+++ b/doc/qbs.qdoc
@@ -521,10 +521,10 @@
You can set these properties on the command line or by using a profile.
\code
- $ qbs # qbs.buildVariant:debug, profile:<default profile>
+ $ qbs # qbs.buildVariant:debug, profile:<default profile> (or profile:none, if no default profile exists)
$ qbs release # qbs.buildVariant:release, profile:<default profile>
- $ qbs profile:Maemo # qbs.buildVariant:debug, profile:Maemo
$ qbs debug release # builds two configurations of the project
+ $ qbs profile:none # all module properties have their default values
\endcode
To select files by build variant: