QT_WINDOWS_APP_PROJECT_IDENTIFIER
在生成的 Windows 应用程序清单中,程序集标识名称。
该属性自 Qt 6.11.1 起引入。
注意: 仅当目标平台为 Windows 时,才会使用此 属性。
设置应用程序清单中assemblyIdentity 元素的name 属性,该清单由Qt自动生成,用于通过qt_add_executable()构建的Windows可执行文件。
该值必须为以点分隔的字符串,例如org.example.myapp 。
如果未设置此属性,则默认值为com.yourcompany.<target_name> 。
如果目标在其源文件中已提供.manifest 文件,Qt 将跳过自动生成清单,且该属性将无效。
set_target_properties(myapp PROPERTIES
QT_WINDOWS_APP_PROJECT_IDENTIFIER "org.example.myapp"
)另请参阅 《Qt for Windows - 部署》和QT_WINDOWS_APP_PROJECT_EXECUTION_LEVEL。
© 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.