From e02e31c8b9d854cd62cbe9799228f6e08e882773 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 5 Dec 2011 22:04:08 -0600 Subject: Sync with latest script --- doc/html/qmake-manual-6.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'doc/html/qmake-manual-6.html') diff --git a/doc/html/qmake-manual-6.html b/doc/html/qmake-manual-6.html index d91ff29d..8e4fdfee 100644 --- a/doc/html/qmake-manual-6.html +++ b/doc/html/qmake-manual-6.html @@ -135,17 +135,17 @@ body { background: #ffffff; color: black; }
 
     MY_DEFINES = $${DEFINES}
 
-

The second notation allows you to adjoin the variable expansion to another value without separating by space. qmake will allow a variable to contain anything (including $(VALUE), which will be placed directly into the Makefile, and allow it to expand as appropriate, usually an environment variable). However, if you retquire an environment variable to be replaced immediately then you may use the $$() notation. For example:

+

The second notation allows you to adjoin the variable expansion to another value without separating by space. qmake will allow a variable to contain anything (including $(VALUE), which will be placed directly into the Makefile, and allow it to expand as appropriate, usually an environment variable). However, if you require an environment variable to be replaced immediately then you may use the $$() notation. For example:

     MY_DEFINES = $$(ENV_DEFINES)
 

This will set MY_DEFINES to the value of the evironment variable ENV_DEFINES as it parses the .pro file. Additionally you may call built-in functions in variable replacing. These functions (not to be confused with Test Functions as enumerated in the next section) are listed below:

join( variablename, glue, before, after )

-

This will join the value of variablename with glue. If this value is non-empty it will prefix the value with before and suffix it with after. variablename is the only retquired field, the others will default to empty strings. If you need to encode spaces in glue, before, or after you must quote them.

+

This will join the value of variablename with glue. If this value is non-empty it will prefix the value with before and suffix it with after. variablename is the only required field, the others will default to empty strings. If you need to encode spaces in glue, before, or after you must quote them.

prompt( question )

This will display question, and read from stdin as a return value.

member( variablename, position )

-

This will place the value in variablename in position position of the list. If the value of variablename is not long this will return an empty string. variablename is the only retquired field, if not specified position will default to the first value in the list (0).

+

This will place the value in variablename in position position of the list. If the value of variablename is not long this will return an empty string. variablename is the only required field, if not specified position will default to the first value in the list (0).

find( variablename, substr )

This will place all the values in variablename that match substr. substr may be a regular expression as well, and will be matched accordingly.

-- 
cgit v1.2.1