Skip to content

Commit 68678ec

Browse files
committed
using QT_ROOT_DIR
1 parent 3fd6673 commit 68678ec

1 file changed

Lines changed: 6 additions & 5 deletions

File tree

.github/workflows/Build.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -59,14 +59,15 @@ jobs:
5959
- name: Install Qt
6060
uses: jurplel/install-qt-action@v4
6161
with:
62+
version: '6.8.3'
6263
arch: 'win64_mingw'
6364
modules: 'qtcharts'
6465

6566
- name: Download libusb
6667
run: |
6768
curl -o libusb.7z -L https://github.com/libusb/libusb/releases/download/v1.0.25/libusb-1.0.25.7z
6869
7z x libusb.7z -r -olibusb
69-
Xcopy /E /I /Y libusb\include ..\Qt\6.2.0\mingw81_64\include
70+
Xcopy /E /I /Y libusb\include ${QT_ROOT_DIR}\include
7071
Xcopy /E /I /Y libusb\MinGW64\static\libusb-1.0.a Software\LibreCAL-GUI
7172
shell: cmd
7273

@@ -97,10 +98,10 @@ jobs:
9798
cd Software/LibreCAL-GUI/release
9899
del *.o *.cpp
99100
windeployqt.exe .
100-
copy ..\..\..\..\Qt\6.2.0\mingw81_64\bin\libwinpthread-1.dll .
101-
copy ..\..\..\..\Qt\6.2.0\mingw81_64\bin\libgcc_s_seh-1.dll .
102-
copy "..\..\..\..\Qt\6.2.0\mingw81_64\bin\libstdc++-6.dll" .
103-
copy ..\..\..\..\Qt\6.2.0\mingw81_64\bin\Qt6OpenGL.dll .
101+
copy ${QT_ROOT_DIR}\bin\libwinpthread-1.dll .
102+
copy ${QT_ROOT_DIR}\bin\libgcc_s_seh-1.dll .
103+
copy ${QT_ROOT_DIR}\bin\libstdc++-6.dll .
104+
copy ${QT_ROOT_DIR}\bin\Qt6OpenGL.dll .
104105
shell: cmd
105106

106107
- name: Upload

0 commit comments

Comments
 (0)