[Qt-creator] Running linguist from external tools with arguments (Ts-Files)?

Julien Bordes julienbordes at hotmail.fr
Wed Nov 9 11:26:41 CET 2016


Hello Matthias,

One solution could be

Executable: %{CurrentProject:QT_INSTALL_BINS}/linguist

Arguments: %{CurrentProject:Path}/*.ts

Working Directory: %{CurrentProject:Path}

and in your .pro

TRANSLATIONS += \
    $${TARGET}_en_US.ts \
    $${TARGET}_fr_FR.ts

But I think this solution only works if the translations are generated where your .pro file is and you manage translations the same in all your projects.

Julien.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qt-creator/attachments/20161109/df1679ac/attachment.html>


More information about the Qt-creator mailing list