summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2023-08-04 18:06:04 +0200
committerMarc Mutz <marc.mutz@qt.io>2023-08-07 11:42:43 +0200
commit7cfda19fe6594dcfd21c5464731993e75c9aaa92 (patch)
treedfdbc8cbd914f1a61647d56b55c6f326a445f62c
parentf310bf76bdbdc46f82b9a16c59f3a4c4d35af30d (diff)
Mark the module free of Q_FOREACH ... again
This restores the QT_NO_FOREACH macro originally added in 4c5c0bc76b6f911b20a6ea53a143534e04412af6 and then lost in the cmake port. Luckily, no new uses have crept in in the meantime. Change-Id: I687b42dde61110203ca5cb372c60daca876e65b0 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 e17d1c4c..734bc2d5 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")