Skip to content

Commit

Permalink
[75_35] Fix qt deploy on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
da-liii authored Nov 23, 2024
1 parent 6dd09d3 commit 86dc007
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions xmake/research.lua
Original file line number Diff line number Diff line change
Expand Up @@ -252,10 +252,7 @@ function add_target_research_on_others()

-- deploy necessary dll
if is_plat("windows") then
set_values("qt.deploy.flags", {"-printsupport", "--no-opengl-sw", "--no-translations"})
elseif is_plat("mingw") then
-- qt on mingw provides debug dll only, without "d" suffix.
set_values("qt.deploy.flags", {"-printsupport", "--no-opengl-sw", "--no-translations", "--debug"})
set_values("qt.deploy.flags", {"-printsupport", "--no-opengl-sw", "--no-translations", "--release"})
end

after_install(function (target)
Expand Down

0 comments on commit 86dc007

Please sign in to comment.