qt_i18n_translated_languages
用于项目国际化的语言列表。
此变量在 Qt 6.7 中引入。
指定用于项目国际化的语言列表。单一语言必须与基于字符串的QLocale 构造函数兼容。
QT_I18N_TRANSLATED_LANGUAGES
中的语言用于
- 为消耗
.qm
文件设置可执行目标。 - 在qt_add_translations() 中自动构建
.ts
文件名。
该变量可通过qt_standard_project_setup()命令方便地设置。
默认情况下,可翻译字符串被视为以en
.
© 2025 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.