Skip to content

Commit

Permalink
Update deps_toolset.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
th3w1zard1 committed Mar 20, 2024
1 parent 6e7f9b5 commit 6fff1da
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions compile/deps_toolset.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -84,17 +84,8 @@ if ((Get-OS) -eq "Mac") {
}
. $pythonExePath -m pip install $qtApi qtpy -U --prefer-binary

# Somehow none of this works, still causes exit code 1...
$ErrorActionPreference = 'Continue'
try {
brew install --quiet qt@5 2>&1 | out-null
}
catch {
Write-Host "Error installing qt@5, but continuing..."
}
$ErrorActionPreference = 'Stop'
$LastExitCode = 0 # We don't care about whatever failed to link...
$global:LASTEXITCODE = 0
brew install --quiet --force qt@5

} elseif ((Get-OS) -eq "Windows") {
# Determine system architecture
if ($env:PROCESSOR_ARCHITECTURE -eq "AMD64" -or $env:PROCESSOR_ARCHITEW6432 -eq "AMD64") {
Expand Down

0 comments on commit 6fff1da

Please sign in to comment.