2019-05-07 07:18:04 +00:00
|
|
|
$ErrorActionPreference = "Stop"
|
|
|
|
|
2019-05-26 07:45:01 +00:00
|
|
|
$qli_install_version = '2019.05.26.1'
|
2019-08-23 19:59:14 +00:00
|
|
|
$qt_version = '5.13.0'
|
2019-05-07 07:18:04 +00:00
|
|
|
|
|
|
|
New-Item -Force -ItemType Directory -Path ".\deps\"
|
|
|
|
|
|
|
|
Write-Output 'Downloading QLI Installer'
|
2021-10-28 11:00:43 +00:00
|
|
|
Invoke-WebRequest "https://github.com/nelsonjchen/qli-installer/archive/v$qli_install_version.zip" -OutFile '.\deps\qli-installer.zip' ;
|
2019-05-07 07:18:04 +00:00
|
|
|
Write-Output 'Downloaded QLI Installer'
|
|
|
|
|
|
|
|
Write-Output 'Extracting QLI Installer'
|
|
|
|
Expand-Archive deps\qli-installer.zip deps\
|
|
|
|
Move-Item .\deps\qli-installer-$qli_install_version\ .\deps\qli-installer
|
|
|
|
Write-Output 'Extracted QLI Installer'
|
|
|
|
|
|
|
|
Write-Output 'Installing QLI Installer Dependencies'
|
|
|
|
pip install -r .\deps\qli-installer\requirements.txt
|
|
|
|
Write-Output 'Installed QLI Installer Dependencies'
|
|
|
|
|
|
|
|
Write-Output 'Starting QT Installer'
|
|
|
|
$Env:QLI_OUT_DIR = ".\deps\Qt\Qt$qt_version"
|
2021-06-23 12:50:31 +00:00
|
|
|
$Env:QLI_BASE_URL = "https://download.qt.io/online/qtsdkrepository/"
|
2019-05-07 07:18:04 +00:00
|
|
|
python .\deps\qli-installer\qli-installer.py $qt_version windows desktop win64_msvc2017_64
|
|
|
|
Write-Output 'Installed QT Installer'
|