diff options
author | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-08-10 14:33:44 +0200 |
---|---|---|
committer | Jarek Kobus <jaroslaw.kobus@qt.io> | 2023-08-10 12:51:10 +0000 |
commit | 26853ee7a9cde43388db7188f9f11dbc3fad6256 (patch) | |
tree | 7621ce51103e58e3c5ce2b99a044b813f746e083 /qbs | |
parent | 88dc7cf7e01314e2918ff4b746f0e83fadf1b078 (diff) |
Creator: Block the usage of foreach in qbs build
Change-Id: If1fc3a69505cf8c2b7e931861a07991643d5e8d5
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'qbs')
-rw-r--r-- | qbs/modules/qtc/qtc.qbs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/qbs/modules/qtc/qtc.qbs b/qbs/modules/qtc/qtc.qbs index 75f85ab79d..a7fff4132e 100644 --- a/qbs/modules/qtc/qtc.qbs +++ b/qbs/modules/qtc/qtc.qbs @@ -92,6 +92,7 @@ Module { 'RELATIVE_DOC_PATH="' + FileInfo.relativePath('/' + ide_bin_path, '/' + ide_doc_path) + '"', "QT_NO_CAST_TO_ASCII", "QT_RESTRICTED_CAST_FROM_ASCII", + "QT_NO_FOREACH", "QT_DISABLE_DEPRECATED_BEFORE=0x050900", "QT_USE_QSTRINGBUILDER", ].concat(testsEnabled ? ["WITH_TESTS"] : []) |