aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt/quick-compiler/quick-compiler.qbs
blob: b141c867277967d826836add418d180a05594c2a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
CppApplication {
    Depends { name: "Qt.quick" }
    Qt.quick.useCompiler: Qt.quick.compilerAvailable

    cpp.cxxLanguageVersion: "c++11"

    Probe {
        id: qtQuickCompilerProbe
        property bool hasCompiler: Qt.quick.compilerAvailable
        configure: {
            if (hasCompiler)
                console.info("compiler available");
            else
                console.info("compiler not available");
        }
    }

    files: [
        "main.cpp",
        "qml.qrc",
    ]
}