QT_HARMONYOS_APP_BUNDLE_NAME

HarmonyOS 应用程序的软件包名称。

该属性自 Qt 6.12 起引入。

注意:该 属性目前处于技术预览阶段,未来版本中可能会发生变化。

注意: 仅当目标平台为 HarmonyOS 时,才使用此 属性。

指定应用程序的包名,即在设备上唯一标识应用程序的反向域名标识符,例如com.example.myapp 。它与显示给用户的应用程序名称不同。

如果未设置此属性,则默认值为org.qtproject.example.<target> ,其中<target> 是经过规范化的目标名称。

set_target_properties(myapp PROPERTIES
    QT_HARMONYOS_APP_BUNDLE_NAME "com.example.myapp"
)

另请参阅 QT_HARMONYOS_APP_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.