Skip to content

Commit 0216b58

Browse files
authored
Merge pull request #44 from scratchcpp/qt_6.7
Update to Qt 6.7
2 parents 84bb8c3 + e8c1538 commit 0216b58

File tree

4 files changed

+25
-10
lines changed

4 files changed

+25
-10
lines changed

.github/workflows/linux-build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
strategy:
1414
matrix:
15-
qt-version: ['6.6']
15+
qt-version: ['6.7']
1616
qt-target: ['desktop']
1717
qt-modules: ['']
1818
arch: ['amd64']
@@ -37,10 +37,11 @@ jobs:
3737
## Install Qt
3838
- if: contains(matrix.arch, 'amd64')
3939
name: Install Qt (Ubuntu)
40-
uses: jurplel/install-qt-action@v3
40+
uses: jurplel/install-qt-action@v4
4141
with:
4242
version: ${{ matrix.qt-version }}
4343
host: 'linux'
44+
arch: 'linux_gcc_64'
4445
target: ${{ matrix.qt-target }}
4546
modules: ${{ matrix.qt-modules }}
4647
- if: "!contains(matrix.arch, 'amd64')"

.github/workflows/release.yml

+11-4
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-20.04
1010
strategy:
1111
matrix:
12-
qt-version: ['6.6']
12+
qt-version: ['6.7']
1313
qt-target: ['desktop']
1414
qt-modules: ['']
1515
arch: ['amd64']
@@ -48,10 +48,11 @@ jobs:
4848
# Install Qt
4949
- if: contains(matrix.arch, 'amd64')
5050
name: Install Qt
51-
uses: jurplel/install-qt-action@v3
51+
uses: jurplel/install-qt-action@v4
5252
with:
5353
version: ${{ matrix.qt-version }}
5454
host: 'linux'
55+
arch: 'linux_gcc_64'
5556
target: ${{ matrix.qt-target }}
5657
modules: ${{ matrix.qt-modules }}
5758
- if: "!contains(matrix.arch, 'amd64')"
@@ -91,7 +92,7 @@ jobs:
9192
runs-on: windows-latest
9293
strategy:
9394
matrix:
94-
qt-version: ['6.6']
95+
qt-version: ['6.7']
9596
qt-target: ['desktop']
9697
qt-modules: ['']
9798
mingw-version: ['11.2.0']
@@ -123,7 +124,7 @@ jobs:
123124
shell: bash
124125
# Install Qt
125126
- name: Install Qt
126-
uses: jurplel/install-qt-action@v3
127+
uses: jurplel/install-qt-action@v4
127128
with:
128129
version: ${{ matrix.qt-version }}
129130
host: 'windows'
@@ -155,6 +156,12 @@ jobs:
155156
cd win_release
156157
windeployqt ${{ env.executable_name }}.exe --qmldir ..\win_build\src || exit 5
157158
shell: cmd
159+
- name: Copy libraries
160+
run: |
161+
cp ${QT_ROOT_DIR}/bin/libgcc_s_seh-1.dll win_release/
162+
cp ${QT_ROOT_DIR}/bin/libstdc++-6.dll win_release/
163+
cp ${QT_ROOT_DIR}/bin/libwinpthread-1.dll win_release/
164+
shell: bash
158165
# Update Windows repository
159166
- if: env.create_windows_installer == 1 && env.is_prerelease == 1
160167
name: Do not update Windows repo if this is a pre-release

.github/workflows/utests.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -24,9 +24,10 @@ jobs:
2424
sudo apt-get install -y nlohmann-json3-dev libutfcpp-dev xvfb libxcb-cursor0
2525
shell: bash
2626
- name: Install Qt
27-
uses: jurplel/install-qt-action@v3
27+
uses: jurplel/install-qt-action@v4
2828
with:
29-
version: '6.6.*'
29+
version: '6.7.*'
30+
arch: 'linux_gcc_64'
3031
- name: Configure CMake
3132
run: cmake -B ${{github.workspace}}/build -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DSCRATCHCPP_PLAYER_BUILD_UNIT_TESTS=ON
3233

.github/workflows/windows-build.yml

+8-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: windows-latest
1313
strategy:
1414
matrix:
15-
qt-version: ['6.6']
15+
qt-version: ['6.7']
1616
qt-target: ['desktop']
1717
qt-modules: ['']
1818
mingw-version: ['11.2.0']
@@ -35,7 +35,7 @@ jobs:
3535
shell: bash
3636
## Install Qt
3737
- name: Install Qt
38-
uses: jurplel/install-qt-action@v3
38+
uses: jurplel/install-qt-action@v4
3939
with:
4040
version: ${{ matrix.qt-version }}
4141
host: 'windows'
@@ -67,6 +67,12 @@ jobs:
6767
cd win_release
6868
windeployqt ${{ env.executable_name }}.exe --qmldir ..\win_build\src || exit 5
6969
shell: cmd
70+
- name: Copy libraries
71+
run: |
72+
cp ${QT_ROOT_DIR}/bin/libgcc_s_seh-1.dll win_release/
73+
cp ${QT_ROOT_DIR}/bin/libstdc++-6.dll win_release/
74+
cp ${QT_ROOT_DIR}/bin/libwinpthread-1.dll win_release/
75+
shell: bash
7076
## Upload
7177
- name: Upload artifacts
7278
uses: actions/upload-artifact@v3

0 commit comments

Comments
 (0)