diff options
| author | Arthur LAURENT <[email protected]> | 2022-06-25 19:09:41 +0200 |
|---|---|---|
| committer | Arthur LAURENT <[email protected]> | 2022-06-25 19:09:46 +0200 |
| commit | f802a4bf25c935b5cc1da520458cdf957b84b928 (patch) | |
| tree | 2cd41471597a723c8625b6d61d322c5138207ca0 | |
| parent | 51b26ec4eccaaf9d562e8b69aecd1e2f21d3168b (diff) | |
Fix qmlplugin output directory
| -rw-r--r-- | xmake/rules/qt/qmltyperegistrar/xmake.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/qmltyperegistrar/xmake.lua b/xmake/rules/qt/qmltyperegistrar/xmake.lua index 38a04bbc4..a6e2419de 100644 --- a/xmake/rules/qt/qmltyperegistrar/xmake.lua +++ b/xmake/rules/qt/qmltyperegistrar/xmake.lua @@ -40,7 +40,7 @@ rule("qt.qmltyperegistrar") local importname = target:values("qt.qmlplugin.import_name") assert(importname, "QML plugin import name not set") - local targetdir = path.join(target:targetdir(), "imports") + local targetdir = target:targetdir() for _, dir in pairs(importname:split(".", { plain = true })) do targetdir = path.join(targetdir, dir) end |
