summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2018-05-03 00:39:07 +0800
committerruki <[email protected]>2018-05-02 21:54:46 +0800
commitd0c6a54322501d397e2b7f99fab40768deb38cf3 (patch)
tree0a5470eaa8986e3a47d9fe635f2e7840f313bed0
parentc637a43ce135408d8e821be1349d1d2c3b5f71eb (diff)
improve qt links for debug mode
-rw-r--r--xmake/rules/qt/load.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/rules/qt/load.lua b/xmake/rules/qt/load.lua
index eaeb50f19..f1373b711 100644
--- a/xmake/rules/qt/load.lua
+++ b/xmake/rules/qt/load.lua
@@ -25,7 +25,7 @@
-- make link for framework
function _link(framework, major)
if major and framework:startswith("Qt") then
- framework = "Qt" .. major .. framework:sub(3)
+ framework = "Qt" .. major .. framework:sub(3) .. (is_mode("debug") and "d" or "")
end
return framework
end