Qt Remote Objects C++ 類

提供易於使用的機製為共享 QObject 's properties, signals, or slots, between processes. 更多...

名稱空間

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 REQUIRED COMPONENTS RemoteObjects)
target_link_libraries(directconnectserver PRIVATE Qt6::RemoteObjects)
					

To link against the module using qmake , add this line to your .pro 文件:

QT       += remoteobjects
					

更多信息,見 Qt Remote Objects 快速入門 .