Home · Overviews · Reference · Classes codeless banner

rule_for_file()

Usage

    rulename=$$rule_for_file(foo.moc)
    isEmpty(rulename):message("Nobody freshens foo.moc")

Description

Find the rule that freshens a file. Returns an empty string if no rule freshens the file.

See also QBuild Functions and QBuild Script.


Copyright © 2009 Nokia
Qt Extended - QBuild Maintainer Guide