blob: 4a738afcc3635a08ff47ed4a5539796b7142d462 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
import qbs.File
import qbs.FileInfo
Product {
name: "undefined-target-platform"
qbs.targetPlatform: undefined
readonly property bool _validate: {
if ((qbs.targetOS instanceof Array) && qbs.targetOS.length === 0)
return true;
throw "Invalid qbs.targetOS value: " + qbs.targetOS;
}
}
|