diff options
author | Jake Petroules <jake.petroules@petroules.com> | 2015-05-11 23:27:29 -0700 |
---|---|---|
committer | Jake Petroules <jake.petroules@petroules.com> | 2015-05-13 16:41:00 +0000 |
commit | fe338544dceefe0af2513fef0d621818a3f1052b (patch) | |
tree | 385d173b87980dffdcea48be13e2fbb5617a2566 /doc | |
parent | c4bdc55cb0709dec7cd9ca570792dbd635b61c60 (diff) |
Provide access to the Qbs version from project files.
Task-number: QBS-788
Change-Id: Ie6155e519a58cbddfaa1cf18787613376d89289f
Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/reference/modules/qbs-module.qdoc | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/doc/reference/modules/qbs-module.qdoc b/doc/reference/modules/qbs-module.qdoc index cfe7be0ee..678003092 100644 --- a/doc/reference/modules/qbs-module.qdoc +++ b/doc/reference/modules/qbs-module.qdoc @@ -306,5 +306,37 @@ Holds the platform-specific separator for path list that is used in environment variables or other contexts. E.g. on Windows is this \c{";"}, on Unix derivatives \c{":"}. + + \section1 version + + \table + \row \li \b{Type:} \li \c{string} (read only) + \endtable + + Version number of \QBS as a string, i.e. "1.4.1". + + \section1 versionMajor + + \table + \row \li \b{Type:} \li \c{int} (read only) + \endtable + + Major version number of \QBS. + + \section1 versionMinor + + \table + \row \li \b{Type:} \li \c{int} (read only) + \endtable + + Minor version number of \QBS. + + \section1 versionPatch + + \table + \row \li \b{Type:} \li \c{int} (read only) + \endtable + + Patch version number of \QBS. */ |