Mark the whole repo with QT_NO_CONTEXTLESS_CONNECT

By adding it to the default build flags via .cmake.conf.

This disables the 3-arg QObject::connect() overload:
QObject::connect(sender, signal, functor)

For details see:
https://lists.qt-project.org/pipermail/development/2023-July/044141.html

No changes required.

Task-number: QTBUG-116296
Change-Id: I3225d98df5b067d73619b1e46fffed23dae5e7bd
Reviewed-by: Sona Kurazyan <kurazyan.sona@gmail.com>
This commit is contained in:
Ahmad Samir 2023-08-22 21:00:35 +03:00
parent 09582ac0aa
commit 43f5251c57
1 changed files with 1 additions and 0 deletions

View File

@ -3,3 +3,4 @@ set(QT_REPO_MODULE_PRERELEASE_VERSION_SEGMENT "alpha1")
set(QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_LEAN_HEADERS=1")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_AS_CONST=1")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_FOREACH=1")
list(APPEND QT_EXTRA_INTERNAL_TARGET_DEFINES "QT_NO_CONTEXTLESS_CONNECT=1")