QT_HARMONYOS_APP_VERSION_CODE
The HarmonyOS application's version code.
This property was introduced in Qt 6.12.
Note: This property is in technology preview and may change in future releases.
Note: This property is used only if targeting the HarmonyOS platform.
Specifies the integer version code of the application. It is an internal version number that is not shown to the user. The value is written to AppScope/app.json5 when the HAP package is built.
If this property is not set, the value defined by the package template is kept.
set_target_properties(myapp PROPERTIES
QT_HARMONYOS_APP_VERSION_CODE 1
)
See also QT_HARMONYOS_APP_VERSION_NAME.