diff --git a/resources/scripts/.appveyor-build-win.ps1 b/resources/scripts/.appveyor-build-win.ps1 index 194f119e3..2c9b33208 100644 --- a/resources/scripts/.appveyor-build-win.ps1 +++ b/resources/scripts/.appveyor-build-win.ps1 @@ -3,8 +3,6 @@ $old_pwd = $pwd.Path # Get Qt. $qt_version = "5.15.1" $qt_stub = "qt-$qt_version-dynamic-msvc2019-x86_64" -$qt_path = (Resolve-Path $qt_stub).Path -$qt_qmake = "$qt_path\bin\qmake.exe" $qt_link = "https://github.com/martinrotter/qt5-minimalistic-builds/releases/download/$qt_version/$qt_stub.7z" $qt_output = "qt.7z" @@ -12,6 +10,9 @@ $qt_output = "qt.7z" Invoke-WebRequest -Uri $qt_link -OutFile $qt_output & ".\resources\scripts\7za\7za.exe" x $qt_output +$qt_path = (Resolve-Path $qt_stub).Path +$qt_qmake = "$qt_path\bin\qmake.exe" + cd "$qt_stub\bin\" & ".\qtbinpatcher.exe" cd "$old_pwd"