blob: a9608c001d4d7235f621fbaa8afeb31d8a43867f (
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.contains("application")
files: "main.cpp"
}
Group {
condition: type.contains("staticlibrary")
files: "lib.cpp"
}
Depends { name: "Qt.core" }
Depends { name: "Qt.gui" }
Depends { name: "Qt.qminimal"; condition: Qt.core.staticBuild }
}
|