diff --git a/rssguard.pro b/rssguard.pro index a9d3524c8..e602aebef 100755 --- a/rssguard.pro +++ b/rssguard.pro @@ -8,14 +8,12 @@ # Usage: # a) DEBUG build for testing. (out of source build type) # cd ../build-dir -# lrelease ../rssguard-dir/rssguard.pro # qmake ../rssguard-dir/rssguard.pro -r CONFIG+=debug PREFIX=./usr # make # make install # # b) RELEASE build for production use. (out of source build type) # cd ../build-dir -# lrelease ../rssguard-dir/rssguard.pro # qmake ../rssguard-dir/rssguard.pro -r CONFIG+=release PREFIX=./usr # make # make install @@ -607,6 +605,11 @@ lupdate.commands = lupdate $$shell_path($$PWD/rssguard.pro) QMAKE_EXTRA_TARGETS += lupdate +# Make sure QM translations are nerated. +qtPrepareTool(LRELEASE, lrelease) { + system($$LRELEASE_EXECUTABLE -compress $$shell_quote($$shell_path($$PWD/rssguard.pro))) +} + # Create new "make 7zip" target and "make zip" target. win32 { seven_zip.target = 7zip