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
Task-number: QTBUG-116296
Change-Id: I34bd090549ec786734d917c466e1345207c29295
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
| commit | a90907970628b75a414cceb98ccb33904fca4b36 |
| parent | b08ed9e39a357f048d3e6096d54fd1be3544079e |
| author | Ahmad Samir <a.samirh78@gmail.com> |
| committer | Ahmad Samir <a.samirh78@gmail.com> |
| commit time | Thu, 31 Aug 2023 22:49:56 +0300 |
- M .cmake.conf
- M src/remoteobjects/qremoteobjectnode.cpp
- M src/remoteobjectsqml/qremoteobjectsqml_p.h
- M tests/auto/benchmarks/tst_benchmarkstest.cpp
- M tests/auto/external_IODevice/tst_client/tst_client.cpp
- M tests/auto/integration/tst_integration.cpp
- M tests/auto/integration_external/client/main.cpp
- M tests/auto/integration_external/server/main.cpp
- M tests/auto/integration_multiprocess/client/main.cpp
- M tests/auto/integration_multiprocess/server/main.cpp
- M tests/auto/proxy_multiprocess/server/main.cpp
- M tests/auto/restart/client/main.cpp
- M tests/auto/restart/server/main.cpp