From 2bf516e96e12e5d56af75ed537ecaa040287be86 Mon Sep 17 00:00:00 2001 From: HapiFive <1143910315@qq.com> Date: Wed, 15 May 2024 04:51:30 +0800 Subject: move run lupdate --- xmake/rules/qt/ts/xmake.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xmake/rules/qt/ts/xmake.lua b/xmake/rules/qt/ts/xmake.lua index e7c57ef90..3e24319c4 100644 --- a/xmake/rules/qt/ts/xmake.lua +++ b/xmake/rules/qt/ts/xmake.lua @@ -41,10 +41,10 @@ rule("qt.ts") end end table.join2(lupdate_argv, {"-ts", path(sourcefile_ts)}) - batchcmds:vrunv(lupdate, lupdate_argv) local outfile = path.join(target:targetdir(), path.basename(sourcefile_ts) .. ".qm") batchcmds:mkdir(target:targetdir()) batchcmds:show_progress(opt.progress, "${color.build.object}compiling.qt.ts %s", sourcefile_ts) + batchcmds:vrunv(lupdate, lupdate_argv) batchcmds:vrunv(lrelease, {path(sourcefile_ts), "-qm", path(outfile)}) batchcmds:add_depfiles(sourcefile_ts) end) \ No newline at end of file -- cgit v1.3.1