diff options
| author | ruki <[email protected]> | 2022-05-22 18:36:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-05-22 18:36:36 +0800 |
| commit | 0b460a9fd1215ac89de539c91eabe2eb234f9d24 (patch) | |
| tree | ce79ec95eff16d45ef8c8d2e411a997d5ecb71cb | |
| parent | 095ab891b08842a9827e2147cb6cbb58cf908df6 (diff) | |
improve ui rule
| -rw-r--r-- | xmake/rules/qt/ui/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/ui/xmake.lua b/xmake/rules/qt/ui/xmake.lua index 2d02a134b..52e1a5228 100644 --- a/xmake/rules/qt/ui/xmake.lua +++ b/xmake/rules/qt/ui/xmake.lua @@ -55,7 +55,7 @@ rule("qt.ui") local headerfile_ui = path.join(headerfile_dir, "ui_" .. path.basename(sourcefile_ui) .. ".h") batchcmds:show_progress(opt.progress, "${color.build.object}compiling.qt.ui %s", sourcefile_ui) batchcmds:mkdir(headerfile_dir) - batchcmds:vrunv(uic, {sourcefile_ui, "-o", headerfile_ui}) + batchcmds:vrunv(uic, {path(sourcefile_ui), "-o", path(headerfile_ui)}) batchcmds:add_depfiles(sourcefile_ui) batchcmds:set_depmtime(os.mtime(headerfile_ui)) batchcmds:set_depcache(target:dependfile(headerfile_ui)) |
