QT_HARMONYOS_APP_LABEL

The HarmonyOS application's label.

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 application name shown to the user. It accepts either a literal string or a $string:<name> resource reference that resolves to a localized string from the application's resource files. 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_LABEL "My Application"
 )