qt_add_repc_replicas
此命令在 Qt 6.2 中引入。
简介
qt_add_repc_replicas(<TARGET> rep_files) qt6_add_repc_replicas(<TARGET> rep_files)
说明
运行repc并根据给定的rep_files
生成Qt Remote Objects Replica头文件。将生成的文件添加到<TARGET>
。
示例
qt6_add_repc_replicas(directconnectclient simpleswitch.rep )
生成的文件格式为rep_<replica file name>_replica.h
,本例中为rep_simpleswitch_replica.h
© 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.