> On Mar 10, 2016, at 7:22 PM, Coda Highland <[email protected]> wrote: > > On Thu, Mar 10, 2016 at 10:09 AM, Frédéric Marchal > <[email protected]> wrote: >> 2016-03-09 20:55 GMT+01:00 Jason H <[email protected]>: >>> >>>>> Hi, >>>>> >>>>> is there any good reason why linguist is not configured as a standard >>>>> external tool? I'd like to add it. >>>> >>>> You can open a .ts file in Qt Linguist with “Open with... > Qt Linguist” >>>> (e.g. from the project tree, file system view, or from the document menu >>>> next to the file name above the editor (when it is already opened in an >>>> editor). >>> >>> I think his problem (and mine) is that it should be under Tools > External >>> > Linguist. Right now your only two options are lupdate and lrelease. The >>> GUI should be invokable from that last menu. >> >> You can add it yourself. >> >> Click on Tools / External / Configure... >> >> Add a "Linguist" entry running >> %{CurrentProject:QT_INSTALL_BINS}\linguist.exe on Windows or >> %{CurrentProject:QT_INSTALL_BINS}/linguist.exe on Linux. >> >> If the ts files are in the project directory, you may also want to set >> the "Working directory" to %{CurrentProject:Path}. With this trick, >> Linguist will directly show the directory with the ts files when you >> click on File / Open. >> >> Frederic >> _______________________________________________ >> Qt-creator mailing list >> [email protected] >> http://lists.qt-project.org/mailman/listinfo/qt-creator > > The question is why it's not there by default.
My question is more why the lrelease and lupdate items are in Tools > External, and not in the context menu for .pro files ;) But since I added them there..... I know that it was mostly as an example for the external tools, and how they can get access to state in Qt Creator (the current project in this case). Just opening Linguist is not there, because you can either open it with a .ts file directly, or use whatever OS means you have to open applications (e.g. Spotlight on OS X, Start menu search on Windows, and the search thingy in Ubuntu, all sound like a much quicker and more comfortable way than navigating through menus to Tools > External > Linguist > Open Linguist). I’m not against having it there though, so feel free to upload a change. Br, Eike -- Eike Ziller, Principle Software Engineer - The Qt Company GmbH The Qt Company GmbH, Rudower Chaussee 13, D-12489 Berlin Geschäftsführer: Mika Pälsi, Juha Varelius, Tuula Haataja Sitz der Gesellschaft: Berlin, Registergericht: Amtsgericht Charlottenburg, HRB 144331 B _______________________________________________ Qt-creator mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/qt-creator
