summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2019-09-25 18:11:10 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2019-09-26 11:55:57 +0000
commit94fe404a5a6d7cf91926bcfbd026953994b25815 (patch)
tree6e0e8392439bf9dea9a410d7268b281a803c4681
parenta1ab897a8be63af3de3f97724ee6fede6ba2bc3a (diff)
Darwin: More filtering in SDK directory
Do not try to detect an SDK from a driver kit directory. Fixes: QBS-1495 Change-Id: I05ef565d599e83dcc02d0d18e656fabfd0aad943 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--share/qbs/modules/xcode/xcode.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/share/qbs/modules/xcode/xcode.js b/share/qbs/modules/xcode/xcode.js
index 82f7eecb3..bda41ade9 100644
--- a/share/qbs/modules/xcode/xcode.js
+++ b/share/qbs/modules/xcode/xcode.js
@@ -102,6 +102,9 @@ function sdkInfoList(sdksPath) {
if (!sdks[i].match(/[0-9]+/))
continue;
+ if (sdks[i].startsWith("DriverKit"))
+ continue;
+
var settingsPlist = FileInfo.joinPaths(sdksPath, sdks[i], "SDKSettings.plist");
var propertyList = new PropertyList();
try {