QT_I18N_SOURCE_LANGUAGE
翻訳可能な文字列の言語を指定します。
この変数は Qt 6.7 で導入されました。
ソースコード内の翻訳可能な文字列の言語を指定します。この言語は、文字列ベースのQLocale コンストラクタと互換性がある必要があります。
この変数は、QT_I18N_TRANSLATED_LANGUAGES と共に、qt_add_translations() 用の.ts ファイルの名前を決定するために使用されます。
この変数は、qt_standard_project_setup()コマンドを使用して簡単に設定できます。
qt_standard_project_setup()およびqt_add_translations()も参照してください 。
© 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.