[app] Fixed a problem with generation of .qm files
This commit is contained in:
parent
41765e9b95
commit
ca2afa3dec
1 changed files with 3 additions and 3 deletions
|
@ -218,13 +218,13 @@ defineTest(addTrFile) {
|
||||||
mkdir -p \"$${OUT_PWD}/translations\" && [ \"$${in}.ts\" != \"$${out}.ts\" ] && \
|
mkdir -p \"$${OUT_PWD}/translations\" && [ \"$${in}.ts\" != \"$${out}.ts\" ] && \
|
||||||
cp -af \"$${in}.ts\" \"$${out}.ts\" || :
|
cp -af \"$${in}.ts\" \"$${out}.ts\" || :
|
||||||
|
|
||||||
$${lrelease_target}.target = \"$${out}.qm\"
|
$${lrelease_target}.target = $${out}.qm
|
||||||
$${lrelease_target}.depends = $${lupdate_target}
|
$${lrelease_target}.depends = $${lupdate_target}
|
||||||
$${lrelease_target}.commands = lrelease -idbased \"$${out}.ts\"
|
$${lrelease_target}.commands = lrelease -idbased \"$${out}.ts\"
|
||||||
|
|
||||||
QMAKE_EXTRA_TARGETS += $${lrelease_target} $${lupdate_target}
|
QMAKE_EXTRA_TARGETS += $${lrelease_target} $${lupdate_target}
|
||||||
PRE_TARGETDEPS += \"$${out}.qm\"
|
PRE_TARGETDEPS += $${out}.qm
|
||||||
qm.files += \"$${out}.qm\"
|
qm.files += $${out}.qm
|
||||||
|
|
||||||
export($${lupdate_target}.commands)
|
export($${lupdate_target}.commands)
|
||||||
export($${lrelease_target}.target)
|
export($${lrelease_target}.target)
|
||||||
|
|
Loading…
Reference in a new issue