This extension allows you to create rules using QMakeScript.
See also QBuild Extensions and QBuild Script.