summaryrefslogtreecommitdiff
path: root/qbs/imports/QtcAutotest.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/imports/QtcAutotest.qbs
parent668c87ffd9765689598394a92d7f986055431aa9 (diff)
downloadqt-creator-527594bb838efd5663b99577323756ebec6a3d70.tar.gz
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/imports/QtcAutotest.qbs')
-rw-r--r--qbs/imports/QtcAutotest.qbs6
1 files changed, 5 insertions, 1 deletions
diff --git a/qbs/imports/QtcAutotest.qbs b/qbs/imports/QtcAutotest.qbs
index bbef04d175..cb914f7ef1 100644
--- a/qbs/imports/QtcAutotest.qbs
+++ b/qbs/imports/QtcAutotest.qbs
@@ -15,7 +15,11 @@ QtcProduct {
project.buildDirectory + '/' + qtc.ide_library_path,
project.buildDirectory + '/' + qtc.ide_plugin_path
]
- cpp.defines: base.filter(function(d) { return d != "QT_RESTRICTED_CAST_FROM_ASCII"; })
+ cpp.defines: base.filter(function(d) {
+ return d !== "QT_RESTRICTED_CAST_FROM_ASCII"
+ && d !== "QT_USE_FAST_OPERATOR_PLUS"
+ && d !== "QT_USE_FAST_CONCATENATION";
+ })
Group {
fileTagsFilter: product.type