aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/nested-properties/modules/lowerlevel/lower-level.qbs
blob: 60ddc219bab05a2c820673eb746b4f0ad6e2cf02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import qbs

Module {
    property string propDependency: "value in lowerlevel module"
    property string prop: propDependency
    property string someOtherProp

    Rule {
        inputs: ["dummy-input"]
        outputFileTags: "mytype"
        prepare: {
            var cmd = new JavaScriptCommand();
            cmd.sourceCode = function() { };
            var prop = product.lowerlevel.prop;
            cmd.description = "lowerlevel.prop is '" + prop + "'.";
            return [cmd];
        }
    }
}