From ef827859f248feafe022a57a3e9ead9aa85e21b2 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 16 Jan 2023 12:04:27 +0100 Subject: Add the missing QWebSocketProtocol header file MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Namespaces don't generate the symbol-based CaMeL header files. Force syncqt.cpp to generate the header file using qt_class pragma. Fixes: QTBUG-110150 Change-Id: Ib9825226d10eeec55bd491eaef9dadeefef3da01 Reviewed-by: MÃ¥rten Nordheim (cherry picked from commit ca36bfe3fdab36c754b53e9468d638bbed4a76a5) Reviewed-by: Qt Cherry-pick Bot --- src/websockets/qwebsocketprotocol.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/websockets/qwebsocketprotocol.h b/src/websockets/qwebsocketprotocol.h index 48ad811..ea3bf63 100644 --- a/src/websockets/qwebsocketprotocol.h +++ b/src/websockets/qwebsocketprotocol.h @@ -4,6 +4,10 @@ #ifndef QWEBSOCKETPROTOCOL_H #define QWEBSOCKETPROTOCOL_H +#if 0 +# pragma qt_class(QWebSocketProtocol) +#endif + #include #include "QtWebSockets/qwebsockets_global.h" -- cgit v1.2.3