diff --git a/app/app.pro b/app/app.pro index f9433b6..c095d69 100644 --- a/app/app.pro +++ b/app/app.pro @@ -218,13 +218,13 @@ defineTest(addTrFile) { mkdir -p \"$${OUT_PWD}/translations\" && [ \"$${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}.commands = lrelease -idbased \"$${out}.ts\" QMAKE_EXTRA_TARGETS += $${lrelease_target} $${lupdate_target} - PRE_TARGETDEPS += \"$${out}.qm\" - qm.files += \"$${out}.qm\" + PRE_TARGETDEPS += $${out}.qm + qm.files += $${out}.qm export($${lupdate_target}.commands) export($${lrelease_target}.target)