Home · Overviews · Reference · Classes codeless banner

equals()

Usage

    FOO=bar
    equals(FOO,bar):THESAME=yes

Description

The first argument is the name of a variable. The second argument is a value. The function retrns true if the variable's value is the same as the passed value. Note that this is a value check, it does not convert the values to strings first. Thus the following is not equal.

    FOO="foo bar"
    equals(FOO,foo bar):THESAME=yes

See also QBuild Functions, QBuild Script, and QBuild Variables.


Copyright © 2009 Nokia
Qt Extended - QBuild Maintainer Guide