mirror of
https://github.com/barry-ran/QtScrcpy.git
synced 2025-04-19 19:15:07 +00:00
fix: qt6 build error
This commit is contained in:
parent
8196e46648
commit
5fa18219b6
1 changed files with 10 additions and 2 deletions
12
.github/workflows/macos.yml
vendored
12
.github/workflows/macos.yml
vendored
|
@ -29,7 +29,7 @@ jobs:
|
|||
build-arch: x64
|
||||
- qt-ver: 6.5.3
|
||||
qt-arch-install: arm64
|
||||
build-arch: [x64, arm64]
|
||||
build-arch: arm64
|
||||
env:
|
||||
target-name: QtScrcpy
|
||||
qt-install-path: ${{ github.workspace }}/${{ matrix.qt-ver }}
|
||||
|
@ -41,11 +41,19 @@ jobs:
|
|||
with:
|
||||
path: ${{ env.qt-install-path }}/${{ matrix.qt-arch-install }}
|
||||
key: ${{ runner.os }}/${{ matrix.qt-ver }}/${{ matrix.qt-arch-install }}
|
||||
- name: Install Qt
|
||||
- name: Install Qt5
|
||||
if: startsWith(matrix.qt-ver, '5.')
|
||||
uses: jurplel/install-qt-action@v4.1.1
|
||||
with:
|
||||
version: ${{ matrix.qt-ver }}
|
||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||
- name: Install Qt6
|
||||
if: startsWith(matrix.qt-ver, '6.')
|
||||
uses: jurplel/install-qt-action@v4.1.1
|
||||
with:
|
||||
version: ${{ matrix.qt-ver }}
|
||||
modules: qtmultimedia
|
||||
cached: ${{ steps.cache-qt.outputs.cache-hit }}
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
fetch-depth: 0
|
||||
|
|
Loading…
Add table
Reference in a new issue