Hello, You can open a translation file in Qt Linguist from Qt Creator by right-clicking a TS file in the Projects view and selecting Open With > Qt Linguist in the context menu:
http://doc-snapshots.qt.io/qtcreator-4.2/creator-editor-external.html#using-qt-linguist If that does not fit your needs, maybe you could take a look at how that function was implemented. Cheers, Leena From: Qt-creator [mailto:[email protected]] On Behalf Of Matthias Ballreich Sent: Montag, 7. November 2016 16:10 To: [email protected] Subject: [Qt-creator] Running linguist from external tools with arguments (Ts-Files)? Hi there, in Qt-Creator we can add some more external Tools. By default the two linguist steps: lupdate and lrelease are implemented. I added a new one on which i call linguist, so that i can open Qt-Linguist directly from inside Qt-Creator. it works, but not completely as i want. I want to add all the ts-files from the project, which are included in the pro-file as arguments, like on the console, when i run the linguist command. I tried it with: %{CurrentProject:Translations} but this did not work. Linguist starts, but the ts-files will not be loaded. Is this possible like i want it and if yes, can someone help me to find the right argument i have to add?
_______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
