Fix script compatibility.
This commit is contained in:
parent
8e49d56d3b
commit
f6e44564ff
|
@ -2,12 +2,11 @@ import qbs.FileInfo
|
||||||
import qbs.Utilities
|
import qbs.Utilities
|
||||||
import qbs.TemporaryDir
|
import qbs.TemporaryDir
|
||||||
|
|
||||||
Project {
|
|
||||||
InnoSetup {
|
InnoSetup {
|
||||||
Depends { name: "buildconfig" }
|
Depends { name: "buildconfig" }
|
||||||
|
|
||||||
property bool _test: {
|
property bool _test: {
|
||||||
var present = qbs.targetOS.includes("windows") && innosetup.present;
|
var present = qbs.targetOS.contains("windows") && innosetup.present;
|
||||||
console.info("has innosetup: " + present);
|
console.info("has innosetup: " + present);
|
||||||
if (present) {
|
if (present) {
|
||||||
console.info("innosetup version " + innosetup.version);
|
console.info("innosetup version " + innosetup.version);
|
||||||
|
@ -79,5 +78,3 @@ Project {
|
||||||
qbs.installPrefix: '/'
|
qbs.installPrefix: '/'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user