try run examples: run tcpserver and then run tcpclient, connection had established but client show errors
Here is messages show on tcpclient: response received: QJsonRpcMessage(type=QJsonRpcMessage::Error, id=1, code=-32601, message="service '' not found", data=QJsonValue(null)) response received: QJsonRpcMessage(type=QJsonRpcMessage::Error, id=2, code=-32601, message="service '' not found", data=QJsonValue(null)) response received: QJsonRpcMessage(type=QJsonRpcMessage::Error, id=3, code=-32601, message="service '' not found", data=QJsonValue(null)) response received: QJsonRpcMessage(type=QJsonRpcMessage::Error, id=4, code=-32601, message="service '' not found", data=QJsonValue(null))
In qt document, i see: Q_CLASSINFO(Name, Value) This macro associates extra information to the class, which is available using QObject::metaObject(). Qt makes only limited use of this feature, in the Active Qt, Qt D-Bus and Qt QML.