summaryrefslogtreecommitdiffstats
path: root/qmake/doc
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@digia.com>2014-03-11 15:56:52 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-20 08:35:24 +0100
commitb73d6be6a0723d5f886f5a8faa9123534e998331 (patch)
tree786ad6dd3d53ccd21b1e8db3f1e49178879c0f2f /qmake/doc
parent5fe0c9e9b02669c8690d78b5305e1291d0f807bf (diff)
qmake: add replacement function getenv
This is useful for querying environment variables which have parentheses in their name. Such jewels exist on Windows. The usual $$(VARNAME) syntax fails for those. Change-Id: I1d2766cabdc7f637caa9ae6408967685e02f5029 Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
Diffstat (limited to 'qmake/doc')
-rw-r--r--qmake/doc/src/qmake-manual.qdoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/qmake/doc/src/qmake-manual.qdoc b/qmake/doc/src/qmake-manual.qdoc
index 958550ce91..01313b405f 100644
--- a/qmake/doc/src/qmake-manual.qdoc
+++ b/qmake/doc/src/qmake-manual.qdoc
@@ -2559,6 +2559,13 @@
See also \l{infile(filename, var, val)}{infile()}.
+ \section2 getenv(variablename)
+
+ Returns the value of the environment variable \c variablename.
+ This is mostly equivalent to the \c $$(variablename) syntax.
+ The \c getenv function, however, supports environment variables with
+ parentheses in their name.
+
\section2 join(variablename, glue, before, after)
Joins the value of \c variablename with \c glue. If this value is