move aqt settings to file

This commit is contained in:
Martin Rotter 2023-11-14 08:59:36 +01:00
parent ee5c28def8
commit bf7ce4ace3
1 changed files with 4 additions and 4 deletions

View File

@ -61,20 +61,20 @@ pip3 install -U pip
pip3 install -I git+https://github.com/miurahr/aqtinstall
if ($is_qt_6) {
aqt install-qt --base 'https://mirror.netcologne.de/qtproject' -O "$qt_path" windows desktop $qt_version win64_msvc2019_64 -m qtwebengine qtimageformats qtmultimedia qt5compat qtwebchannel qtpositioning
aqt install-qt -O "$qt_path" windows desktop $qt_version win64_msvc2019_64 -m qtwebengine qtimageformats qtmultimedia qt5compat qtwebchannel qtpositioning
}
else {
aqt install-qt --base 'https://mirror.netcologne.de/qtproject' -O "$qt_path" windows desktop $qt_version win64_msvc2019_64 -m qtwebengine
aqt install-qt -O "$qt_path" windows desktop $qt_version win64_msvc2019_64 -m qtwebengine
}
aqt install-src --base 'https://mirror.netcologne.de/qtproject' -O "$qt_path" windows desktop $qt_version --archives qtbase
aqt install-src -O "$qt_path" windows desktop $qt_version --archives qtbase
$qt_qmake = "$qt_path\$qt_version\msvc2019_64\bin\qmake.exe"
$env:PATH = "$qt_path\$qt_version\msvc2019_64\bin\;" + $env:PATH
if ($is_qt_6) {
# Download openssl 3.x.
aqt install-tool --base 'https://mirror.netcologne.de/qtproject' -O "$qt_path" windows desktop tools_opensslv3_x64 qt.tools.opensslv3.win_x64
aqt install-tool -O "$qt_path" windows desktop tools_opensslv3_x64 qt.tools.opensslv3.win_x64
$openssl_base_path = "$qt_path\Tools\OpenSSLv3\Win_x64"
}
else {