aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt/static-qt-plugin-linking/static-qt-plugin-linking.qbs
blob: e4e56bb4b919e7deccf115ac608d66a620a07fea (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
Product {
    name: "p"
    Probe {
        id: staticQtChecker
        property bool staticQt: Qt.core.staticBuild
        configure: {
            found = staticQt;
            if (found)
                console.info("Qt is static");
        }
    }

    Group {
        condition: type.includes("application")
        files: "main.cpp"
    }

    Group {
        condition: type.includes("staticlibrary")
        files: "lib.cpp"
    }

    Depends { name: "Qt.core" }
    Depends { name: "Qt.gui" }
    Depends { name: "Qt.qminimal"; condition: Qt.core.staticBuild }
}