QT_I18N_LINGUE_TRADOTTE

Elenco delle lingue da utilizzare per l'internazionalizzazione del progetto.

Questa variabile è stata introdotta in Qt 6.7.

Specifica un elenco di lingue da utilizzare per l'internazionalizzazione del progetto. Le singole lingue devono essere compatibili con il costruttore QLocale basato su stringhe.

Le lingue presenti in ` QT_I18N_TRANSLATED_LANGUAGES ` vengono utilizzate per:

  • Configurare i target eseguibili per l’utilizzo dei file ` .qm `.
  • Costruire automaticamente i nomi dei file di traduzione in ` .ts ` all'interno di ` qt_add_translations()`.

Questa variabile può essere comodamente impostata con il comando qt_standard_project_setup().

Per impostazione predefinita, si considera che le stringhe traducibili siano scritte in en.

Vedi anche qt_standard_project_setup() e 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.