aboutsummaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-10-31 10:16:43 -0400
committerJoerg Bornemann <joerg.bornemann@digia.com>2013-11-04 11:53:01 +0100
commit972747d63aaae6e755e1c9f55cec96cb3faef5de (patch)
tree827181f15e9a893934cb694a1b10bbcc2503e511 /doc
parent4e136110b1b6ac0cbc5ace5077a26aa258338e21 (diff)
Add a hostOSVersion property, defined for Windows and OS X.
Change-Id: I04da329f17c54f010fd467841f305d6ab7e922f0 Reviewed-by: Jake Petroules <jake.petroules@petroules.com> Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/reference/modules/qbs-module.qdoc51
1 files changed, 51 insertions, 0 deletions
diff --git a/doc/reference/modules/qbs-module.qdoc b/doc/reference/modules/qbs-module.qdoc
index 14357a922..36957656b 100644
--- a/doc/reference/modules/qbs-module.qdoc
+++ b/doc/reference/modules/qbs-module.qdoc
@@ -92,6 +92,57 @@
though some may not be supported.
+ \section1 hostOSVersion
+
+ \table
+ \row \li \b{Type:} \li \c{string} (read only)
+ \endtable
+
+ The host operating system version. Currently only defined for Windows and OS X.
+ Consists of two or three numbers separated by dots, for instance "10.9" or "6.3.9600".
+
+
+ \section1 versionMajor
+
+ \table
+ \row \li \b{Type:} \li \c{int}
+ \row \li \b{Default:} \li \c{hostOSVersionParts[0]}
+ \endtable
+
+ The host operating system major version.
+
+
+ \section1 versionMinor
+
+ \table
+ \row \li \b{Type:} \li \c{int}
+ \row \li \b{Default:} \li \c{hostOSVersionParts[1]}
+ \endtable
+
+ The host operating system minor version.
+
+
+ \section1 versionParts
+
+ \table
+ \row \li \b{Type:} \li \c{list}
+ \row \li \b{Default:} \li \c{empty}
+ \endtable
+
+ The host operating system version as a list.
+ For instance, Windows 8.1 (version 6.3.9600) would correspond to a value of \c[6, 3, 9600].
+
+
+ \section1 versionPatch
+
+ \table
+ \row \li \b{Type:} \li \c{int}
+ \row \li \b{Default:} \li \c{hostOSVersionParts[2]}
+ \endtable
+
+ The host operating system patch level.
+
+
\section1 targetOS
\table