blob: 793d261e9318c0ce74267a42ca4f42db0fba1969 (
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
|
CppApplication {
Depends {
name: "Qt.quick"
// Must fail when using Qt4
versionAtLeast: "5"
}
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",
]
}
|