diff options
| author | ruki <[email protected]> | 2019-08-02 22:10:53 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-08-02 22:10:53 +0800 |
| commit | e7cbdb10f67e11e91a49624070cbfcb78d886daa (patch) | |
| tree | b8f8b4c0d6e9cf35b4aac1c30cc567a1c257306b | |
| parent | ac311c9a6134f26c5833827a6dc543c47c6cdf23 (diff) | |
Update xmake.lua
| -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) |
