aboutsummaryrefslogtreecommitdiffstats
path: root/qbs/modules/qtc/qtc.qbs
diff options
context:
space:
mode:
authorChristian Kandeler <christian.kandeler@qt.io>2017-10-18 13:41:55 +0200
committerChristian Kandeler <christian.kandeler@qt.io>2017-10-18 14:18:41 +0000
commit527594bb838efd5663b99577323756ebec6a3d70 (patch)
treea36d25677665fbeb2b9d932cbee36fec3429aa39 /qbs/modules/qtc/qtc.qbs
parent668c87ffd9765689598394a92d7f986055431aa9 (diff)
qbs build: Add missing defines
The string concatenation macros were not set, as opposed to the qmake build. Change-Id: I32e2c72c891419ef8352cb7b46e3b7f9b82b6312 Reviewed-by: Jake Petroules <jake.petroules@qt.io>
Diffstat (limited to 'qbs/modules/qtc/qtc.qbs')
-rw-r--r--qbs/modules/qtc/qtc.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/qbs/modules/qtc/qtc.qbs b/qbs/modules/qtc/qtc.qbs
index 2d863115100..18951cb2d39 100644
--- a/qbs/modules/qtc/qtc.qbs
+++ b/qbs/modules/qtc/qtc.qbs
@@ -76,6 +76,8 @@ Module {
"QT_NO_CAST_TO_ASCII",
"QT_RESTRICTED_CAST_FROM_ASCII",
"QT_DISABLE_DEPRECATED_BEFORE=0x050600",
+ "QT_USE_FAST_OPERATOR_PLUS",
+ "QT_USE_FAST_CONCATENATION",
].concat(testsEnabled ? ["WITH_TESTS"] : [])
Rule {