summaryrefslogtreecommitdiffstats
path: root/.cmake.conf
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-11-19 21:30:55 +0100
committerMarc Mutz <marc.mutz@qt.io>2022-11-27 17:14:28 +0100
commitc72bf262ea1f8eb80b7b4c9a56f6bd9e6f77cee4 (patch)
treef51e8c284a859e996bb1d685e480a49941788b37 /.cmake.conf
parent612c8e428e2c4738bd9da029103921bef536f2ac (diff)
Introduce QT_NO_AS_CONST and mark QtBase free of it
Change-Id: I680086e767fe6d5c69eb7103b26150293c69b175 Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to '.cmake.conf')
-rw-r--r--.cmake.conf1
1 files changed, 1 insertions, 0 deletions
diff --git a/.cmake.conf b/.cmake.conf
index 4f4c0a2017..979edb2e37 100644
--- a/.cmake.conf
+++ b/.cmake.conf
@@ -5,6 +5,7 @@
# (directly by qtbase) we actually add the extra definitions
if (NOT DEFINED QT_SUPERBUILD OR DEFINED QT_REPO_MODULE_VERSION)
set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_LEAN_HEADERS=1")
+ list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
endif()
set(QT_REPO_MODULE_VERSION "6.5.0")