aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.qbs
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@theqtcompany.com>2015-12-14 05:47:33 -0800
committerJake Petroules <jake.petroules@theqtcompany.com>2015-12-14 14:40:53 +0000
commitf84c381c12832709b2027dc7b354ca2a322bb80c (patch)
tree3ef9c7f341e7848bc85dbf47f2f3c1ffd3007a07 /qbs.qbs
parentceb7992b260ec9b190df7e8c7c2f0ef3f3935ea7 (diff)
Fix autotest execution on OS X.
Change-Id: I94f35289e73690ef33ca047cb48ea92b04f499d4 Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com> Reviewed-by: Jake Petroules <jake.petroules@theqtcompany.com>
Diffstat (limited to 'qbs.qbs')
-rw-r--r--qbs.qbs4
1 files changed, 4 insertions, 0 deletions
diff --git a/qbs.qbs b/qbs.qbs
index 0cf122613..d126cf69a 100644
--- a/qbs.qbs
+++ b/qbs.qbs
@@ -65,6 +65,10 @@ Project {
else
env.push(arrayElem);
}
+ if (qbs.hostOS.contains("darwin") && qbs.targetOS.contains("darwin")) {
+ env.push("DYLD_FRAMEWORK_PATH=" + Qt.core.libPath);
+ env.push("DYLD_LIBRARY_PATH=" + Qt.core.libPath);
+ }
return env;
}
}