diff options
| author | wzshun <[email protected]> | 2026-04-29 11:04:09 +0800 |
|---|---|---|
| committer | wzshun <[email protected]> | 2026-04-29 11:04:09 +0800 |
| commit | 31522f2528b6921aa8b6f8af11c8ef2b9f9df604 (patch) | |
| tree | 312fda0b2616e74132979cf1a78991d7b561580e | |
| parent | fad66cf085b6d4671baa1e26bfac17a273aff8df (diff) | |
fix path does not have the isdir API
| -rw-r--r-- | xmake/modules/detect/sdks/find_qt.lua | 2 |
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) |
