aboutsummaryrefslogtreecommitdiffstats
path: root/qbs.pro
diff options
context:
space:
mode:
authorIikka Eklund <iikka.eklund@qt.io>2016-08-31 14:41:58 +0300
committerJake Petroules <jake.petroules@qt.io>2016-09-02 08:29:37 +0000
commit9362b2a4be9f3a92020a169f1bb2896667974dda (patch)
treec9584cc8a796cb6f5c1f206e47cacaf80940accf /qbs.pro
parent0f41162ce0a35a557d5beb4df897a57a6a7050e5 (diff)
Support building Qbs for host platforms only
With this change we don't need a separate Module class in Coin for Qbs to exclude cross-compilations. Change-Id: I92e26b668615aeea1cba7fd0ff05d58387c058ee Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'qbs.pro')
-rw-r--r--qbs.pro2
1 files changed, 2 insertions, 0 deletions
diff --git a/qbs.pro b/qbs.pro
index 1ff1e02eb..af6ba896a 100644
--- a/qbs.pro
+++ b/qbs.pro
@@ -1,3 +1,5 @@
+requires(!cross_compile)
+
defineTest(minQtVersion) {
maj = $$1
min = $$2