Skip to content

Commit e445455

Browse files
committed
fix qmake
1 parent 1f82be4 commit e445455

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

xmake/modules/detect/sdks/find_qt.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ end
132132
-- find qmake
133133
function _find_qmake(sdkdir, sdkver)
134134
local sdkdir, qmakefile = _find_sdkdir(sdkdir, sdkver)
135-
local qmake = find_tool(qmakefile, {paths = sdkdir and path.join(sdkdir, "bin")})
135+
local qmake = find_tool(qmakefile or "qmake", {paths = sdkdir and path.join(sdkdir, "bin")})
136136
if qmake then
137137
return qmake.program
138138
end

0 commit comments

Comments
 (0)