Skip to content

Commit 5e19ad8

Browse files
committed
fix: QT6 Build for MinGW on Windows
1 parent 4367b81 commit 5e19ad8

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ jobs:
146146
toolset: 14.1
147147

148148
- name: Install Qt
149-
uses: jurplel/install-qt-action@v3
149+
uses: jurplel/install-qt-action@v4
150150
with:
151151
version: ${{ matrix.qt-version }}
152152
host: "windows"
@@ -158,7 +158,7 @@ jobs:
158158
- name: Configure CMake
159159
run: cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -B "${{ github.workspace }}/build" ${{ matrix.cmake-args }}
160160
env:
161-
CMAKE_PREFIX_PATH: ${{ env.Qt5_Dir }}
161+
CMAKE_PREFIX_PATH: "${{ env.QT_ROOT_DIR }}/lib/cmake"
162162
WORKSPACE_DIR: ${{ github.workspace }}
163163

164164
- name: Build

.github/workflows/release.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ jobs:
158158
pacman --noconfirm -U mingw-w64-x86_64-SDL2-2.30.6-1-any.pkg.tar.zst
159159
160160
- name: Install Qt
161-
uses: jurplel/install-qt-action@v3
161+
uses: jurplel/install-qt-action@v4
162162
with:
163163
version: "5.15.2"
164164
host: "windows"
@@ -170,15 +170,15 @@ jobs:
170170
- name: Configure CMake
171171
run: cmake -DCMAKE_BUILD_TYPE=Release -DCHECK_FOR_UPDATES=ON -DANTIMICROX_PKG_VERSION="GitHub Windows Release" -B '${{ github.workspace }}'/build
172172
env:
173-
CMAKE_PREFIX_PATH: ${{env.Qt5_Dir}}
173+
CMAKE_PREFIX_PATH: "${{ env.QT_ROOT_DIR }}/lib/cmake"
174174

175175
- name: Build Installer
176176
run: cmake --build '${{ github.workspace }}'/build --target package --parallel 8
177177

178178
- name: Configure CMake (portable)
179179
run: cmake -DCMAKE_BUILD_TYPE=Release -DCHECK_FOR_UPDATES=ON -DANTIMICROX_PKG_VERSION="GitHub Portable Windows Release" -DPORTABLE_WIN=ON -B '${{ github.workspace }}'/build
180180
env:
181-
CMAKE_PREFIX_PATH: ${{env.Qt5_Dir}}
181+
CMAKE_PREFIX_PATH: "${{ env.QT_ROOT_DIR }}/lib/cmake"
182182

183183
- name: Build ZIP Package
184184
run: cmake --build '${{ github.workspace }}'/build --target package --parallel 8

0 commit comments

Comments
 (0)