aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@qt.io>2017-04-14 12:29:55 -0700
committerJake Petroules <jake.petroules@qt.io>2017-04-18 18:08:17 +0000
commit6852cc3556cc6afecd517df133fa22f14b4801aa (patch)
tree2f620f7922e9caf0c2bd443c140c37ddb342aae4
parent3cc1c90b5156eadc95c6d5b31226314c73417df3 (diff)
Detect QNX SDK on Windows in C:\ (one of the default locations)
Change-Id: I78f0619fad050672e296d192f0a3fa2f25dcafd4 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
-rw-r--r--share/qbs/modules/qnx/qnx.qbs3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/qbs/modules/qnx/qnx.qbs b/share/qbs/modules/qnx/qnx.qbs
index 84edbe1ab..8a0c1460c 100644
--- a/share/qbs/modules/qnx/qnx.qbs
+++ b/share/qbs/modules/qnx/qnx.qbs
@@ -39,7 +39,8 @@ Module {
Probes.PathProbe {
id: qnxSdkProbe
names: ["qnx700", "qnx660", "qnx650"]
- pathPrefixes: [Environment.getEnv("HOME"), "/opt"]
+ pathPrefixes: [Environment.getEnv("HOME"),
+ qbs.targetOS.contains("windows") ? "C:/" : "/opt"]
}
Probe {