QT_HARMONYOS_APP_VERSION_CODE

El código de versión de la aplicación HarmonyOS.

Esta propiedad se introdujo en Qt 6.12.

Nota: Esta propiedad se encuentra en fase de vista previa tecnológica y puede sufrir cambios en futuras versiones.

Nota: Esta propiedad solo se utiliza si se dirige a la plataforma HarmonyOS.

Especifica el código de versión, de tipo entero, de la aplicación. Se trata de un número de versión interno que no se muestra al usuario. El valor se escribe en el archivo « AppScope/app.json5 » al compilar el paquete HAP.

Si no se configura esta propiedad, se mantiene el valor definido por la plantilla del paquete.

set_target_properties(myapp PROPERTIES
    QT_HARMONYOS_APP_VERSION_CODE 1
)

Véase también 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.