diff options
| -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 581904450..d591a289c 100644 --- a/xmake/modules/detect/sdks/find_qt.lua +++ b/xmake/modules/detect/sdks/find_qt.lua @@ -161,7 +161,7 @@ function _find_qmake(sdkdir, sdkver) -- we need find the default qmake in current system -- maybe we only installed qmake6 if not qmake then - local suffixes = {"", "6"} + local suffixes = {"", "6", "-qt5"} for _, suffix in ipairs(suffixes) do qmake = find_tool("qmake", {program = "qmake" .. suffix, paths = sdkdir and path.join(sdkdir, "bin")}) if qmake then |
