summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/sdks/find_qt.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-19 22:48:13 +0800
committerruki <[email protected]>2018-12-19 10:49:18 +0800
commit1758e5f01e5684bf8da0187bb5b6ee7ac93fd4e6 (patch)
treee5879bdf6d8f98432fd0e34912864b6b57998f6e /xmake/modules/detect/sdks/find_qt.lua
parent998aedba0b07b6b7605272b99e6dc0d59e5c8ac6 (diff)
improve mingw
Diffstat (limited to 'xmake/modules/detect/sdks/find_qt.lua')
-rw-r--r--xmake/modules/detect/sdks/find_qt.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua
index 4bdfc9e4d..00b752824 100644
--- a/xmake/modules/detect/sdks/find_qt.lua
+++ b/xmake/modules/detect/sdks/find_qt.lua
@@ -154,7 +154,7 @@ function main(sdkdir, opt)
end
-- find qt
- local qt = _find_qt(sdkdir or config.get("qt") or global.get("qt"), opt.version or config.get("qt_sdkver"))
+ local qt = _find_qt(sdkdir or config.get("qt") or global.get("qt") or config.get("sdk"), opt.version or config.get("qt_sdkver"))
if qt then
-- save to config