diff options
Diffstat (limited to 'azure-pipelines/download_install_qt.ps1')
| -rw-r--r-- | azure-pipelines/download_install_qt.ps1 | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/azure-pipelines/download_install_qt.ps1 b/azure-pipelines/download_install_qt.ps1 index c2c2322..a4b51d2 100644 --- a/azure-pipelines/download_install_qt.ps1 +++ b/azure-pipelines/download_install_qt.ps1 @@ -6,8 +6,7 @@ $qt_version = '5.13.0' New-Item -Force -ItemType Directory -Path ".\deps\" Write-Output 'Downloading QLI Installer' -$Wc = New-Object System.Net.WebClient -$Wc.DownloadFile("https://github.com/nelsonjchen/qli-installer/archive/v$qli_install_version.zip", '.\deps\qli-installer.zip') ; +Invoke-WebRequest "https://github.com/nelsonjchen/qli-installer/archive/v$qli_install_version.zip" -OutFile '.\deps\qli-installer.zip' ; Write-Output 'Downloaded QLI Installer' Write-Output 'Extracting QLI Installer' @@ -21,6 +20,6 @@ Write-Output 'Installed QLI Installer Dependencies' Write-Output 'Starting QT Installer' $Env:QLI_OUT_DIR = ".\deps\Qt\Qt$qt_version" -$Env:QLI_BASE_URL = "http://mirrors.ocf.berkeley.edu/qt/online/qtsdkrepository/" +$Env:QLI_BASE_URL = "https://download.qt.io/online/qtsdkrepository/" python .\deps\qli-installer\qli-installer.py $qt_version windows desktop win64_msvc2017_64 Write-Output 'Installed QT Installer' |
