diff options
| author | ruki <[email protected]> | 2022-01-04 13:40:51 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-01-04 13:40:51 +0800 |
| commit | 77b107604093b5a905df60092f92e20f380f084b (patch) | |
| tree | 1119140192e503afe407befb866b4f8d4051f32d | |
| parent | 833a6f50a0ce17cc88049c81691eb9e32483fe6b (diff) | |
improve to find qt 6.x
| -rw-r--r-- | xmake/modules/detect/sdks/find_qt.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/modules/detect/sdks/find_qt.lua b/xmake/modules/detect/sdks/find_qt.lua index da98cd074..9c9cf43f0 100644 --- a/xmake/modules/detect/sdks/find_qt.lua +++ b/xmake/modules/detect/sdks/find_qt.lua @@ -35,7 +35,10 @@ function _find_sdkdir(sdkdir, sdkver) table.insert(subdirs, path.join(sdkver or "*", is_arch("x86_64") and "gcc_64" or "gcc_32", "bin")) table.insert(subdirs, path.join(sdkver or "*", is_arch("x86_64") and "clang_64" or "clang_32", "bin")) elseif is_plat("macosx") then + table.insert(subdirs, path.join(sdkver or "*", "macos", "bin")) -- for Qt 6.x table.insert(subdirs, path.join(sdkver or "*", is_arch("x86_64") and "clang_64" or "clang_32", "bin")) + elseif is_plat("iphoneos") then + table.insert(subdirs, path.join(sdkver or "*", "ios", "bin")) elseif is_plat("windows") then local vs = config.get("vs") if vs then |
