summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwzshun <[email protected]>2026-04-21 15:28:48 +0800
committerwzshun <[email protected]>2026-04-21 15:28:48 +0800
commit3354b5c44b66e1b5df490eec17e932ae77aa3d70 (patch)
tree9700cf73dd78b92e49b13e1f451482fe3e50707e
parentf068a1ed6b0424e67412bc76547cabb8cfc4ed2c (diff)
style: remove extra spaces
-rw-r--r--xmake/modules/detect/sdks/find_qt.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua
index ee5580b10..6d3d1c4b0 100644
--- a/xmake/modules/detect/sdks/find_qt.lua
+++ b/xmake/modules/detect/sdks/find_qt.lua
@@ -208,7 +208,7 @@ function _get_qtenvs(qmake, sdkdir)
local results
-- Try with -qtconf first if sdkdir is provided
- if sdkdir then
+ if sdkdir then
local conf_paths = {path.join(sdkdir, "bin", "target_qt.conf"), path.join(sdkdir, "bin", "qt.conf"), path.join(sdkdir, "qt.conf")}
for _, conf_path in ipairs(conf_paths) do
if os.isfile(conf_path) then
@@ -291,7 +291,7 @@ function _find_qt(sdkdir, sdkver, sdkdir_host)
-- handle qt sysroot
local qt_sysroot = qtenvs.QT_SYSROOT or ""
- if #qt_sysroot > 0 and path.isdir(qt_sysroot) then
+ if #qt_sysroot > 0 and path.isdir(qt_sysroot) then
sdkdir = path.join(qt_sysroot, sdkdir)
bindir = path.join(qt_sysroot, bindir)
libexecdir = path.join(qt_sysroot, libexecdir)