This example shows how you could use a non- QIODevice -based transport (QWebSocket) with QtRemoteObjects . This is achieved by implementing a small QIODevice -derived wrapper for QWebSocket.
范例工程 @ code.qt.io