summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-06-27 09:48:42 +0800
committerGitHub <[email protected]>2022-06-27 09:48:42 +0800
commitcc71abf732f2e45f93674f65a1e2daba161315bd (patch)
tree99192cc9d9330a8d1d45efa8b23b6efac1779f07
parent68a3eac3dcd93793f2ec8e73c86b02d031239f31 (diff)
Update xmake.lua
-rw-r--r--xmake/rules/qt/env/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/env/xmake.lua b/xmake/rules/qt/env/xmake.lua
index fa62fdf78..592ef07d9 100644
--- a/xmake/rules/qt/env/xmake.lua
+++ b/xmake/rules/qt/env/xmake.lua
@@ -31,7 +31,7 @@ rule("qt.env")
target:data_set("qt", qt)
end
- local qmlimportpath = target:get("qt.env.qmlimportpath") or {}
+ local qmlimportpath = target:values("qt.env.qmlimportpath") or {}
if target:is_plat("windows") or (target:is_plat("mingw") and is_host("windows")) then
target:add("runenvs", "PATH", qt.bindir)
table.append(qmlimportpath, qt.qmldir)