En esta página

qt_add_repc_sources

Este comando se introdujo en Qt 6.2.

Sinopsis

qt_add_repc_sources(<TARGET> rep_files)

qt6_add_repc_sources(<TARGET> rep_files)

Descripción

Ejecuta repc y genera archivos de cabecera de «Qt Remote Objects » a partir de la fuente indicada en « rep_files ». Añade los archivos generados a « <TARGET> ».

Ejemplos

qt6_add_repc_sources(directconnectserver
    simpleswitch.rep
)

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

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