Home · Overviews · Reference · Classes |
The functions extension contains miscelaneous functons that the rest of the build system uses. Most of these functions can be called from both QBuild Script and JavaScript. The usage demonstates this as follows.
Functions that are intended to be called from JavaScript are documented like this.
func("arg");
Functions that are intended to be called from QBuild Script are documented like this.
### func(arg) ###
Most functions can be called from both environments but there are some things to be aware of. QBuild Script variables are stored as lists. When passed to a JavaScript function, a QBuild Script variable becomes an array. However, single values are passed to JavaScript as values. JavaScript functions expecting items that are not strings or arrays will fail when called from QBuild Script.
See also QBuild Extensions, QBuild Script, and Functions.
Copyright © 2009 Nokia | Qt Extended - QBuild Maintainer Guide |