diff --git a/.github/workflows/PR-check-cmake.yml b/.github/workflows/PR-check-cmake.yml index 94bf1182c..747ee850d 100644 --- a/.github/workflows/PR-check-cmake.yml +++ b/.github/workflows/PR-check-cmake.yml @@ -143,12 +143,11 @@ jobs: runs-on: windows-latest steps: - name: Install Qt - uses: jurplel/install-qt-action@v3 - with: - version: 6.8.0 - arch: win64_msvc2022_64 - modules: qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats qtspeech qtserialport - setup-python: 'false' + run: | + pipx run --spec git+https://github.com/miurahr/aqtinstall aqtinstall ` + windows desktop 6.8.0 win64_msvc2022_64 ` + --outputdir ./Qt ` + --modules qtwebengine qtwebchannel qtpositioning qt5compat qtmultimedia qtimageformats qtspeech qtserialport - uses: actions/checkout@v4 with: fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis @@ -172,6 +171,7 @@ jobs: # RelWithDebInfo + msvc's = .pdb file beside program file. cmake -S . -B "./build_dir" ` -G Ninja ` + -DCMAKE_PREFIX_PATH=.\Qt\6.8.0\msvc2022_64 ` -DCMAKE_C_COMPILER="cl.exe" -DCMAKE_CXX_COMPILER="cl.exe" ` -DWITH_FFMPEG_PLAYER=OFF ` -DUSE_VCPKG=ON `