summaryrefslogtreecommitdiff
path: root/tests/auto/language/testdata/enum-project-props.qbs
blob: 185ab7c28340d0852f1a522289c385f13a6186e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
import qbs

Project {
    property string anExistingFile: "dummy.txt"
    Product {
        files: {
            for (var k in project) {
                if (k === "anExistingFile")
                    return [project[k]];
            }
            return [];
        }
    }
}