diff --git a/.cmake.conf b/.cmake.conf
index a3c82e91a2f0e5af4c1df3a9d30659b255c469d3..c729713001df357522147f2058cd8a7e585e4cf9 100644
--- a/.cmake.conf
+++ b/.cmake.conf
@@ -1,6 +1,6 @@
 set(QT_REPO_MODULE_VERSION "6.10.0")
 set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
 set(QT_SUPPORTED_MIN_CMAKE_VERSION_FOR_BUILDING_WEBENGINE "3.19")
-set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
+set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_QASCONST=1")
 list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1")
 list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_QSNPRINTF=1")
