diff options
| -rw-r--r-- | xmake/rules/qt/env/xmake.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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) |
