QT_I18N_QUELL_SPRACHE

Gibt die Sprache der übersetzbaren Strings an.

Diese Variable wurde in Qt 6.7 eingeführt.

Legt die Sprache der übersetzbaren Strings im Quellcode fest. Die Sprache muss mit dem string-basierten QLocale Konstruktor kompatibel sein.

Zusammen mit QT_I18N_TRANSLATED_LANGUAGES wird diese Variable verwendet, um die Namen der .ts Dateien für qt_add_translations() zu bestimmen.

Diese Variable kann bequem mit dem Befehl qt_standard_project_setup() gesetzt werden.

Siehe auch qt_standard_project_setup() und qt_add_translations().

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