diff --git a/.github/workflows/cmake-multi-platform.yml b/.github/workflows/cmake-multi-platform.yml index 16c17c5..10e7666 100755 --- a/.github/workflows/cmake-multi-platform.yml +++ b/.github/workflows/cmake-multi-platform.yml @@ -75,11 +75,11 @@ jobs: Invoke-WebRequest -Uri "https://download.qt.io/official_releases/online_installers/qt-unified-windows-x64-online.exe" ` -OutFile $installer -TimeoutSec 1200 - # Start Qt installer with corrected arguments + # Corrected Qt installer arguments with silent and path specifications Start-Process -FilePath $installer -ArgumentList ` '--silent', '--accept-licenses', ` - '--root C:\Qt', ` - '--auto-install', 'qt.qt6.653.win64_msvc2019_64' -Wait + '--installationDirectory C:\Qt', ` + '--packages qt.qt6.653.win64_msvc2019_64' -NoNewWindow -Wait # Verify Qt installation if (!(Test-Path "C:\Qt\6.5.3\msvc2019_64")) {