summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElite-stay <[email protected]>2024-11-08 17:33:43 +0800
committerGitHub <[email protected]>2024-11-08 17:33:43 +0800
commitfa34c04745a093ebcc34d9dfd2da5623c3f3148c (patch)
treeaab38c82b635379ddac52ec047f096936779727b
parentc2b956073bfd299974e42cdf708c436ffa7775d3 (diff)
Improve user experience
-rw-r--r--xmake/modules/detect/sdks/find_qt.lua6
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua
index 5cb77f9ad..9d09ea621 100644
--- a/xmake/modules/detect/sdks/find_qt.lua
+++ b/xmake/modules/detect/sdks/find_qt.lua
@@ -200,8 +200,12 @@ function _get_qtenvs(qmake)
envs[kv[1]] = kv[2]:trim()
end
end
+ return envs
+ else
+ if option.get("verbose") then
+ print("qmake -query failed")
+ end
end
- return envs
end
-- find qt sdk toolchains