aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata/deprecated-property/modules/themodule/m.qbs
blob: 58164e91897735ce98a5cdfbbc656ce2b2cca614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
import qbs.Environment

Module {
    property bool newProp
    property bool expiringProp
    property bool forgottenProp

    PropertyOptions {
        name: "newProp"
        description: "Use this, it's good!"
    }
    PropertyOptions {
        name: "expiringProp"
        description: "Use newProp instead."
        removalVersion: Environment.getEnv("REMOVAL_VERSION")
    }
    PropertyOptions {
        name: "veryOldProp"
        description: "Use newProp instead."
        removalVersion: "1.3"
    }
    PropertyOptions {
        name: "forgottenProp"
        description: "Use newProp instead."
        removalVersion: "1.8"
    }
}