QT_HARMONYOS_APP_VERSION_CODE
Il codice versione dell'applicazione HarmonyOS.
Questa proprietà è stata introdotta in Qt 6.12.
Nota: questa proprietà è in fase di anteprima tecnologica e potrebbe subire modifiche nelle versioni future.
Nota: questa proprietà viene utilizzata solo se si sceglie come piattaforma di destinazione HarmonyOS.
Specifica il codice di versione intero dell'applicazione. Si tratta di un numero di versione interno che non viene mostrato all'utente. Il valore viene scritto nel file " AppScope/app.json5 " durante la compilazione del pacchetto HAP.
Se questa proprietà non è impostata, viene mantenuto il valore definito dal modello del pacchetto.
set_target_properties(myapp PROPERTIES
QT_HARMONYOS_APP_VERSION_CODE 1
)Vedi anche QT_HARMONYOS_APP_VERSION_NAME.
© 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.