aboutsummaryrefslogtreecommitdiffstats
path: root/tests/auto/blackbox/testdata-qt/quick-compiler/quick-compiler.qbs
blob: 372ee069b4d46096e32077b30623341bd5de275f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
import qbs

CppApplication {
    Depends { name: "Qt.quick" }

    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",
    ]
}