aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOrgad Shaneh <orgad.shaneh@audiocodes.com>2016-05-03 11:30:38 +0300
committerOrgad Shaneh <orgads@gmail.com>2016-05-03 09:07:57 +0000
commit5c9171ca2ef5bc538967c29246d5f35bf01cfea7 (patch)
tree98f0971c646661940b6f8eb92183415f76b0769a
parent76dc76862e5ba27f2fcc1f67e2ad1b0b2543b0ed (diff)
Enable exceptions in qbs project
Change-Id: I754280c0b8b02c4693be6936b67f458f1a57ba2b Reviewed-by: Christian Kandeler <christian.kandeler@theqtcompany.com>
-rw-r--r--qbs-resources/imports/QbsProduct.qbs1
1 files changed, 1 insertions, 0 deletions
diff --git a/qbs-resources/imports/QbsProduct.qbs b/qbs-resources/imports/QbsProduct.qbs
index 8ffcbfbd2..de5f7f12a 100644
--- a/qbs-resources/imports/QbsProduct.qbs
+++ b/qbs-resources/imports/QbsProduct.qbs
@@ -10,5 +10,6 @@ Product {
res.push("_SCL_SECURE_NO_WARNINGS");
return res;
}
+ cpp.enableExceptions: true
condition: QbsFunctions.versionIsAtLeast(Qt.core.version, minimumQtVersion)
}