diff options
| author | ruki <[email protected]> | 2023-10-08 10:46:53 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-10-08 10:46:53 +0800 |
| commit | 761928b900807746a36ae24ce4fd59acafc4e55e (patch) | |
| tree | 4260f6f2f31a455f6bea1adf7ca429a03557570a | |
| parent | 70d1db94e95e8e9aa32d53e993554d90db605c83 (diff) | |
fix qt runenvs
| -rw-r--r-- | xmake/rules/qt/load.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua index 0def1eb1c..477ba0a89 100644 --- a/xmake/rules/qt/load.lua +++ b/xmake/rules/qt/load.lua @@ -368,6 +368,8 @@ function main(target, opt) _add_includedirs(target, path.join(qt.mkspecsdir, "win32-msvc")) target:add("linkdirs", qt.libdir) target:add("syslinks", "ws2_32", "gdi32", "ole32", "advapi32", "shell32", "user32", "opengl32", "imm32", "winmm", "iphlpapi") + -- for debugger, https://github.com/xmake-io/xmake-vscode/issues/225 + target:add("runenvs", "PATH", qt.bindir) elseif target:is_plat("mingw") then target:set("frameworks", nil) -- we need to fix it, because gcc maybe does not work on latest mingw when `-isystem D:\a\_temp\msys64\mingw64\include` is passed. |
