Home · Overviews · Reference · Classes codeless banner

QBuild Script

QBuild Script has a very similar syntax to QMake project syntax.

It is possible to mix Javascript inline with QBuild Script, by enclosing the Javascript within the XML <script></script> tags. For example,

    MY_VARIABLE = hello

will print "hello". Script can be conditioned, just like other QBuild Script primatives.

    project.warning("Bluetooth is enabled!");

Just as you can access project variables from within <script> tags, you can set project variables too.


Install HintsDocuments each of the values that can appear in a .hint.
QBuild ExtensionsReference for QBuild extensions.
QBuild FunctionsReference for functions that are built-in to QBuild.
QBuild VariablesReference for the various types of variables that QBuild supports.

Copyright © 2009 Nokia
Qt Extended - QBuild Maintainer Guide