summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArthur LAURENT <[email protected]>2022-06-25 19:10:10 +0200
committerArthur LAURENT <[email protected]>2022-06-25 19:10:10 +0200
commit7db70c0c2b5bc016f81f32d084fb694107b47699 (patch)
treee08168ff45a1c74fd9b70bf1a44229bd6c9ef2ae
parentf802a4bf25c935b5cc1da520458cdf957b84b928 (diff)
Fix qmldir file handling
-rw-r--r--xmake/rules/qt/qmltyperegistrar/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/qmltyperegistrar/xmake.lua b/xmake/rules/qt/qmltyperegistrar/xmake.lua
index a6e2419de..d0e8b92bf 100644
--- a/xmake/rules/qt/qmltyperegistrar/xmake.lua
+++ b/xmake/rules/qt/qmltyperegistrar/xmake.lua
@@ -118,7 +118,7 @@ rule("qt.qmltyperegistrar")
end)
after_build(function(target)
- local qmldir = target:values("qml.plugin.qmldirfile")
+ local qmldir = path.join(target:scriptdir(), target:values("qt.qmlplugin.qmldirfile"))
if qmldir then
os.cp(qmldir, target:targetdir())
end