summaryrefslogtreecommitdiff
path: root/xmake/modules/detect/sdks/find_qt.lua
diff options
context:
space:
mode:
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