blob: f1e4c81b75317301552fe3c6dad2a540fb73387a (
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
|
import qbs
Product {
Depends { name: "qbsbuildconfig" }
Depends { name: "qbsversion" }
Depends { name: "Qt.core"; versionAtLeast: minimumQtVersion }
property string minimumQtVersion: "5.14.0"
property bool install: true
property string targetInstallDir
cpp.defines: {
var res = [
"QT_NO_CAST_FROM_ASCII",
"QT_NO_CAST_FROM_BYTEARRAY",
"QT_NO_PROCESS_COMBINED_ARGUMENT_START"
];
if (qbs.toolchain.contains("msvc"))
res.push("_SCL_SECURE_NO_WARNINGS");
if (qbs.enableDebugCode)
res.push("QT_STRICT_ITERATORS");
return res;
}
cpp.cxxLanguageVersion: "c++17"
cpp.enableExceptions: true
cpp.rpaths: qbsbuildconfig.libRPaths
}
|