aboutsummaryrefslogtreecommitdiffstats
path: root/src/webchannel
diff options
context:
space:
mode:
authorAhmad Samir <a.samirh78@gmail.com>2023-07-15 23:45:36 +0300
committerAhmad Samir <a.samirh78@gmail.com>2023-07-17 13:23:58 +0300
commitb55f3c1b98b7c98497a4b4f59025b75f02ed2e5c (patch)
tree22a5e477d588b35d90991220bd9c7f6b21586078 /src/webchannel
parent4a0eb88ac82c88f3f47822774d905607924cbc6b (diff)
Build with QT_NO_CONTEXTLESS_CONNECT
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 Change-Id: Ib583b48d7ed58778de66dc61c689ae9b129e7a85 Reviewed-by: Arno Rehn <a.rehn@menlosystems.com>
Diffstat (limited to 'src/webchannel')
-rw-r--r--src/webchannel/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/webchannel/CMakeLists.txt b/src/webchannel/CMakeLists.txt
index fd5c08b..9366654 100644
--- a/src/webchannel/CMakeLists.txt
+++ b/src/webchannel/CMakeLists.txt
@@ -9,6 +9,8 @@ qt_internal_add_module(WebChannel
qwebchannelabstracttransport.cpp qwebchannelabstracttransport.h
signalhandler_p.h
qwebchannelglobal.h
+ DEFINES
+ QT_NO_CONTEXTLESS_CONNECT
LIBRARIES
Qt::CorePrivate
)