summaryrefslogtreecommitdiff
path: root/tests/auto/blackbox/testdata/QTBUG-51237/qtbug-51237.qbs
blob: 849a943f85554c09939d896d013e92d0c606502a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Product {
    type: "custom"
    Depends { name: "mymodule" }
    Rule {
        multiplex: true
        outputFileTags: ["custom"]
        prepare: {
            var theProperty = product.mymodule.theProperty;
            if (!theProperty)
                throw "Oh no!";
            var dummy = new JavaScriptCommand();
            dummy.silent = true;
            dummy.sourceCode = function() {};
            return [dummy];
        }
    }
}