From 31522f2528b6921aa8b6f8af11c8ef2b9f9df604 Mon Sep 17 00:00:00 2001 From: wzshun <281115606@qq.com> Date: Wed, 29 Apr 2026 11:04:09 +0800 Subject: fix path does not have the isdir API --- xmake/modules/detect/sdks/find_qt.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.3.1