qt_add_repc_merged
此命令在 Qt 6.2 中引入。
简介
qt_add_repc_merged(<TARGET> rep_files) qt6_add_repc_merged(<TARGET> rep_files)
说明
运行repc并根据给定的rep_files
生成Qt Remote Objects Replica和Qt Remote Objects Source头文件,并将其合并为单个头文件。将生成的文件添加到<TARGET>
中。
示例
qt6_add_repc_merged(directconnectexample simpleswitch.rep )
在本例中,生成的文件格式为rep_<replica file name>_merged.h
rep_simpleswitch_merged.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.