summaryrefslogtreecommitdiffstats
path: root/.cmake.conf
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-12-05 23:24:41 +0100
committerVolker Hilsheimer <volker.hilsheimer@qt.io>2022-12-07 00:55:06 +0100
commit075b7a868f5334028d06c7fb5b5aa09b64365358 (patch)
treefab0c3152c28614848d35f423c2cfbd0f6db1ac0 /.cmake.conf
parent1e30c174402b35d51e5962678e75595ad8f716dc (diff)
Mark the module as free of qAsConst()
Change-Id: Ie67ec9b4f1f808b3b70ca7beb98f90c9cd1f2a9f Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to '.cmake.conf')
-rw-r--r--.cmake.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/.cmake.conf b/.cmake.conf
index 05b80d3a..4fd8de4c 100644
--- a/.cmake.conf
+++ b/.cmake.conf
@@ -1,4 +1,6 @@
set(QT_REPO_MODULE_VERSION "6.5.0")
set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
+
+list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
# Use cpp-based syncqt
set(QT_USE_SYNCQT_CPP TRUE)