En esta página

qt_add_repc_merged

Este comando se introdujo en Qt 6.2.

Sinopsis

qt_add_repc_merged(<TARGET> rep_files)

qt6_add_repc_merged(<TARGET> rep_files)

Descripción

Ejecuta repc y genera los archivos de cabecera «Qt Remote Objects » (réplica ) y «Qt Remote Objects » (fuente ) a partir del archivo « rep_files » proporcionado, combinados en un único archivo de cabecera. Añade los archivos generados a « <TARGET> ».

Ejemplos

qt6_add_repc_merged(directconnectexample
    simpleswitch.rep
)

Los archivos generados tendrán el formato rep_<replica file name>_merged.h; en este caso rep_simpleswitch_merged.h

Nota: Normalmente , las fuentes y las réplicas se encuentran en procesos o dispositivos distintos, por lo que esta función no se utiliza habitualmente.

© 2026 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.