From e7cbdb10f67e11e91a49624070cbfcb78d886daa Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 2 Aug 2019 22:10:53 +0800 Subject: Update xmake.lua --- xmake/rules/qt/env/xmake.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xmake/rules/qt/env/xmake.lua b/xmake/rules/qt/env/xmake.lua index 127203c5d..a18a8671f 100644 --- a/xmake/rules/qt/env/xmake.lua +++ b/xmake/rules/qt/env/xmake.lua @@ -35,6 +35,8 @@ rule("qt.env") end if is_plat("windows") or (is_plat("mingw") and is_host("windows")) then target:add("runenvs", "PATH", qt.bindir) + target:add("runenvs", "QML2_IMPORT_PATH", path.join(qt.sdkdir, "qml")) + target:add("runenvs", "QML_IMPORT_TRACE", "1") end end) -- cgit v1.3.1