qt_add_repc_sources

이 명령은 Qt 6.2에 도입되었습니다.

시놉시스

qt_add_repc_sources(<TARGET> rep_files)

qt6_add_repc_sources(<TARGET> rep_files)

설명

repc를 실행하고 주어진 rep_files 을 기반으로 Qt Remote Objects 소스 헤더 파일을 생성합니다. 생성된 파일을 <TARGET> 에 추가합니다.

예제

qt6_add_repc_sources(directconnectserver
    simpleswitch.rep
)

생성된 파일은 rep_<replica file name>_source.h 형식입니다(이 경우). rep_simpleswitch_source.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.