summaryrefslogtreecommitdiffstats
path: root/mkspecs
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-07-15 16:40:06 +0200
committerOswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>2016-07-22 10:28:07 +0000
commitf914870e31127821226ea342570ee40f1f798e5e (patch)
treeb83353fb3d27c694df2ed6f487ed285257b39da8 /mkspecs
parentb451a6e514980503d727c43a6bf78f1a447f872d (diff)
permit wrapping expressions in the json file
the json parser passes line breaks verbatim, so we need to get rid of them ourselves. Change-Id: I3b71fe54dcaa8c3a2ff94e8ac4845f49dabe1663 Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Diffstat (limited to 'mkspecs')
-rw-r--r--mkspecs/features/qt_configure.prf1
1 files changed, 1 insertions, 0 deletions
diff --git a/mkspecs/features/qt_configure.prf b/mkspecs/features/qt_configure.prf
index 0e3c8a6544..e20b6a228a 100644
--- a/mkspecs/features/qt_configure.prf
+++ b/mkspecs/features/qt_configure.prf
@@ -510,6 +510,7 @@ defineTest(qtRunSingleTest) {
defineReplace(qtConfEvaluate) {
isEmpty(1): return(true)
+ 1 ~= s/$$escape_expand(\\n) */ /g
expr = $${1}
expr ~= s/&&/ && /g
expr ~= s/\|\|/ || /g