summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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