summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRC1844 <[email protected]>2026-01-10 23:57:32 +0800
committerGitHub <[email protected]>2026-01-10 23:57:32 +0800
commitce65d3bdeb6f4a450a0a6e0d1a51e54daccd69c8 (patch)
tree690055c3fe0c8fa3c8a27b34cbd04b0218253e26
parentfedbf62b7e11abac537157b3174e5dfd82333f47 (diff)
fix:qt mkspecsdir
Fix the qt mkspecsdir path
-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 8935be2c6..c47fc3f69 100644
--- a/xmake/modules/detect/sdks/find_qt.lua
+++ b/xmake/modules/detect/sdks/find_qt.lua
@@ -286,7 +286,7 @@ function _find_qt(sdkdir, sdkver, sdkdir_host)
local libdir = qtenvs.QT_INSTALL_LIBS
local pluginsdir = qtenvs.QT_INSTALL_PLUGINS
local includedir = qtenvs.QT_INSTALL_HEADERS
- local mkspecsdir = qtenvs.QMAKE_MKSPECS or path.join(qtenvs.QT_INSTALL_ARCHDATA, "mkspecs")
+ local mkspecsdir = qtenvs.QMAKE_MKSPECS or path.join(qtenvs.QT_HOST_DATA, "mkspecs")
-- for 6.2
local bindir_host = qtenvs.QT_HOST_BINS
if not bindir_host and libexecdir and is_plat("android", "iphoneos") then