QT_USE_PROTOBUF_LIST_ALIASES
Abilita gli alias di tipo " QList " nel codice generato
Questa proprietà è stata introdotta in Qt 6.9.
Nota: questa proprietà è in anteprima tecnologica e potrebbe subire modifiche nelle versioni future.
Controlla la definizione di " QT_USE_PROTOBUF_LIST_ALIASES ". La definizione abilita gli alias di tipo per l'QList e dei messaggi protobuf nel codice generato.
Impostare questa proprietà su TRUE per abilitare la definizione per il target protobuf. Impostarla su FALSE per disabilitarla. Il valore predefinito è TRUE.
qt6_add_protobuf(protobuf_target
...
)
set_target_properties(protobuf_target PROPERTIES
QT_USE_PROTOBUF_LIST_ALIASES FALSE
)Nota: la generazione di alias di tipo per QList dei messaggi protobuf causa conflitti di nomi se lo schema .proto include messaggi con suffissi Repeated. Per evitare tali conflitti, impostare la proprietà su 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.