Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Jan 24, 2024
1 parent 3456995 commit 3c97391
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions xmake/modules/detect/sdks/find_qt.lua
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,7 @@ function _find_sdkdir(sdkdir, sdkver)
table.insert(paths, "~/Qt")
table.insert(paths, "~/Qt*")
end
print(paths)

-- special case for android on windows, where qmake is a .bat from version 6.3
-- this case also applys to wasm
Expand Down Expand Up @@ -250,6 +251,7 @@ end
-- @endcode
--
function main(sdkdir, opt)
print("find qt ..")

-- init arguments
opt = opt or {}
Expand Down Expand Up @@ -290,5 +292,6 @@ function main(sdkdir, opt)
cacheinfo.qt = qt or false
detectcache:set(key, cacheinfo)
detectcache:save()
print("find qt end")
return qt
end
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,9 @@ function _fetch_packages(packages_fetch, installdeps)
packages_fetching[index] = instance
local oldenvs = os.getenvs()
instance:envs_enter()
print("fetching", instance:name())
instance:fetch()
print("fetch end", instance:name())
os.setenvs(oldenvs)

-- fix terminal mode to avoid some subprocess to change it
Expand Down

0 comments on commit 3c97391

Please sign in to comment.