summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2026-04-29 14:06:01 +0800
committerGitHub <[email protected]>2026-04-29 14:06:01 +0800
commit6a10bec8cf45841e3ddb4dfa82a28538c7136a39 (patch)
treee3ce8a0d4412f4f9ef6caca05db4b94422d97f6f
parentadb059e311b0b176b179f287821234f02913181d (diff)
parent31522f2528b6921aa8b6f8af11c8ef2b9f9df604 (diff)
Merge pull request #7516 from ThzShun/fix-qt-cross
fix path does not have the isdir API
-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 43534cf5e..61f37bbfc 100644
--- a/xmake/modules/detect/sdks/find_qt.lua
+++ b/xmake/modules/detect/sdks/find_qt.lua
@@ -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 os.isdir(qt_sysroot) then
sdkdir = path.join(qt_sysroot, sdkdir)
bindir = path.join(qt_sysroot, bindir)
libexecdir = path.join(qt_sysroot, libexecdir)