QT_HARMONYOS_APP_VERSION_NAME

Der Versionsname der HarmonyOS-Anwendung.

Diese Eigenschaft wurde in Qt 6.12 eingeführt.

Hinweis: Diese Eigenschaft befindet sich in der Technologievorschau und kann sich in zukünftigen Versionen ändern.

Hinweis: Diese Eigenschaft wird nur verwendet, wenn die HarmonyOS-Plattform als Zielplattform ausgewählt ist.

Gibt die für Menschen lesbare Versionszeichenfolge der Anwendung an, zum Beispiel 1.0.0. Der Wert wird beim Erstellen des HAP-Pakets in die Datei „ AppScope/app.json5 “ geschrieben.

Wenn diese Eigenschaft nicht festgelegt ist, wird der in der Paketvorlage definierte Wert beibehalten.

set_target_properties(myapp PROPERTIES
    QT_HARMONYOS_APP_VERSION_NAME "1.0.0"
)

Siehe auch QT_HARMONYOS_APP_VERSION_CODE.

© 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.