QT_USE_PROTOBUF_LIST_ALIASES
생성된 코드에서 QList 유형 별칭을 활성화합니다
이 속성은 Qt 6.9에서 도입되었습니다.
참고: 이 속성은 기술 미리보기 단계에 있으며 향후 릴리스에서 변경될 수 있습니다.
QT_USE_PROTOBUF_LIST_ALIASES 정의값을 제어합니다. 이 정의값은 생성된 코드에서 protobuf 메시지의 QList 에 대한 유형 별칭을 활성화합니다.
이 속성을 ‘ TRUE ’로 설정하면 protobuf 대상에 대한 정의를 활성화합니다. ‘ FALSE ’로 설정하면 비활성화됩니다. 기본값은 ‘ TRUE ’입니다.
qt6_add_protobuf(protobuf_target
...
)
set_target_properties(protobuf_target PROPERTIES
QT_USE_PROTOBUF_LIST_ALIASES FALSE
)참고: 프로토버프 메시지의 QList 에 대한 타입 별칭을생성하면 , .proto 스키마에 Repeated 접미사가 붙은 메시지가 포함된 경우 이름 충돌이 발생합니다. 이러한 충돌을 방지하려면 이 속성을 FALSE 로 설정하십시오.
© 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.