Qt WebChannel 示例

这些示例展示了如何使用QWebChannel C++ 和WebChannel QML API。

Qt WebChannel ChatClient HTML Example

通过 WebSocket 与 QWebChannel 服务器通信的 HTML/JavaScript 客户端。

Qt WebChannel ChatClient QML Application

通过 WebSocket 与 QWebChannel 服务器通信的 QML 客户端。

Qt WebChannel ChatServer Example

使用 QWebChannel C++ API 实现的简单聊天服务器。

Qt WebChannel Standalone Example

服务器与浏览器中运行的远程客户端之间的简单聊天。

© 2025 The Qt Company Ltd. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd. in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.