Qt Remote Objects C++ 类

提供易于使用的机制为共享 QObject 的特性、信号或槽,在进程之间。 更多...

名称空间

QtRemoteObjects 包含用于 Qt Remote Objects 模块的标识符,及从由 RepC (复本编译器) 生成代码使用的一些函数

QAbstractItemModelReplica Serves as a convenience class for Replicas of Sources based on QAbstractItemModel
QRemoteObjectAbstractPersistedStore 提供用于将复制 PROP 值设为最后一次使用复制时的值的方法的类
QRemoteObjectDynamicReplica 动态实例化 Replica
QRemoteObjectHost Qt Remote Objects 网络 (主机) 节点
QRemoteObjectHostBase Host 和 RegistryHost 类共有的基本功能
QRemoteObjectNode Qt Remote Objects 网络节点
QRemoteObjectPendingCall 封装异步方法调用的结果
QRemoteObjectPendingCallWatcher 提供基于 QObject 的 API 为看守 QRemoteObjectPendingCall
QRemoteObjectPendingReply QRemoteObjectPendingCall 的模板化版本
QRemoteObjectRegistry 保持 Qt Remote Objects 网络可用 Source 对象有关信息的类
QRemoteObjectRegistryHost Qt Remote Objects 网络 (主机/注册) 节点
QRemoteObjectReplica 与远程对象网络 Qt API 交互 (但未实现) 的类
QtROClientFactory 保持 Qt Remote Objects 网络可用客户端后端有关信息的类
QtROServerFactory 保持 Qt Remote Objects 网络可用服务器后端有关信息的类

详细描述

To link against the module using CMake, add the following lines to your cmake 文件:

find_package(Qt6 COMPONENTS RemoteObjects REQUIRED)
target_link_libraries(directconnectserver PRIVATE Qt6::RemoteObjects)
					

To link against the module using qmake ,添加此行到 .pro 文件:

QT       += remoteobjects
					

更多信息,见 Qt Remote Objects 快速入门 .