diff options
| -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)) |
