summaryrefslogtreecommitdiffstats
path: root/.cmake.conf
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@qt.io>2022-12-27 15:41:55 +0100
committerMarc Mutz <marc.mutz@qt.io>2023-01-05 15:09:49 +0100
commit0ba063f4361e543d0d359d403acf978c92a990a8 (patch)
tree67b37b66c9557738f05d79bdba18b3933815a99c /.cmake.conf
parent90806123e961d469c36ee3b19ac0960524abb9e2 (diff)
Enable QT_NO_AS_CONST globally
All current modules are free of qAsConst, make sure new ones will be, too. Change-Id: Iae3c67bca86eddf62ae664b00ff39a9b513d7290 Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
Diffstat (limited to '.cmake.conf')
-rw-r--r--.cmake.conf1
1 files changed, 0 insertions, 1 deletions
diff --git a/.cmake.conf b/.cmake.conf
index d176a5ab75..f183bf6337 100644
--- a/.cmake.conf
+++ b/.cmake.conf
@@ -5,7 +5,6 @@
# (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.6.0")