summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-08-04 18:03:23 +0200
committerMarc Mutz <marc.mutz@qt.io>2023-08-07 13:41:49 +0000
commit430472b8467edfb56fe794e917fb13b7ec66b6a7 (patch)
tree44a3616adc33141b4580eb63018feb802ae9a1c7
parent6544fa7821d9fa6a7fec26d92e2acde2febaf628 (diff)
Mark the module free of Q_FOREACH ... again
This restores the QT_NO_FOREACH macro originally added in 8595d3a1758b65b2e30770c5491e144ecfcb610c and then lost in the cmake port. Luckily, no new uses have crept in in the meantime. Change-Id: Ic93f0ae8e6f835da4db17b292de8520b4ed13909 Reviewed-by: André Hartmann <aha_1980@gmx.de> Reviewed-by: Ivan Solovev <ivan.solovev@qt.io>
-rw-r--r--.cmake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/.cmake.conf b/.cmake.conf
index e17d1c4..734bc2d 100644
--- a/.cmake.conf
+++ b/.cmake.conf
@@ -1,3 +1,4 @@
set(QT_REPO_MODULE_VERSION "6.7.0")
set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
+list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1")