aboutsummaryrefslogtreecommitdiffstats
path: root/share/qbs/modules/qnx/qnx.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'share/qbs/modules/qnx/qnx.qbs')
-rw-r--r--share/qbs/modules/qnx/qnx.qbs8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/qbs/modules/qnx/qnx.qbs b/share/qbs/modules/qnx/qnx.qbs
index f329db18c..899b72441 100644
--- a/share/qbs/modules/qnx/qnx.qbs
+++ b/share/qbs/modules/qnx/qnx.qbs
@@ -40,7 +40,7 @@ Module {
Probes.PathProbe {
id: qnxSdkProbe
names: ["qnx700", "qnx660", "qnx650"]
- searchPaths: Host.os().contains("windows")
+ searchPaths: Host.os().includes("windows")
? [Environment.getEnv("USERPROFILE"), Environment.getEnv("SystemDrive")]
: [Environment.getEnv("HOME"), "/opt"]
}
@@ -78,11 +78,11 @@ Module {
property string hostArch: qnx7 ? "x86_64" : "x86"
property string hostOs: {
- if (Host.os().contains("linux"))
+ if (Host.os().includes("linux"))
return "linux";
- if (Host.os().contains("macos"))
+ if (Host.os().includes("macos"))
return "darwin";
- if (Host.os().contains("windows"))
+ if (Host.os().includes("windows"))
return qnx7 ? "win64" : "win32";
}