Skip to content

Commit

Permalink
move aqt settings to file
Browse files Browse the repository at this point in the history
  • Loading branch information
martinrotter committed Nov 14, 2023
1 parent ee5c28d commit bf7ce4a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions resources/scripts/github-actions/build-windows.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit bf7ce4a

Please sign in to comment.