You will need Qt Creator (Offile Qt Downloads).
lrelease
- see the guidelines below).Debug
or Release
).If you're building on Windows with VS2017 it would be handy to "install" two additional batch files for the smooth translations building (lupdate
and lrelease.cmd
) into the Qt binaries directory (%{CurrentProject:QT_INSTALL_BINS}
- for instance, C:\Qt\Qt5.10.0\5.10.0\msvc2017_64\bin
).
Their content for VS2017 when building for 64-bit platform (using the approach from stackoverflow):
@echo off
"%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" & %~dp0lupdate.exe %1
@echo off
"%ProgramFiles(x86)%\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvars64.bat" & %~dp0lrelease.exe %1
Don't forget to re-configure the tools at Tools
> External
> Configure...