Build .qm files from .ts

Lubomir I. Ivanov neolit123 at gmail.com
Fri Oct 11 07:23:52 UTC 2013


On 11 October 2013 16:55, Robert Helling <helling at lmu.de> wrote:
>
> This patch tells qmake to run lrelease on .ts files to create .qm files. Copied from http://www.freehackers.org/thomas/2009/03/10/fixing-qmake-missing-rule-for-ts-qm/
>
> Signed-off-by: Robert C. Helling <helling at atdotde.de>
>

perhaps we should name the new file with a "subsurface-" prefix for
better consistency.
but i'm seeing similar code which is left in subsurface-install.pri,
so what is the deference between the two and do we need both hunks?

BTW this is broken on win32, as when the command gets expanded the "\"
in there are treated as escape characters by 'sh':
QMAKE_LRELEASE = $$[QT_INSTALL_BINS]\lrelease.exe

attached patch fixed it for me.

lubomir
--
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-subsurface-install.pri-change-in-QMAKE_LRELEASE-for-.patch
Type: application/octet-stream
Size: 1256 bytes
Desc: not available
URL: <http://lists.hohndel.org/pipermail/subsurface/attachments/20131011/72de5e5d/attachment.obj>


More information about the subsurface mailing list