summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)