Skip to content

Commit fd196bd

Browse files
Add lrelease.exe and linguist.exe to the Translations\Tools
1 parent 0a879c0 commit fd196bd

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

.github/workflows/Build.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,6 @@ jobs:
4848
- name: Compile Project
4949
shell: cmd
5050
run: |
51-
:: Search for lrelease.exe and linguist.exe
52-
dir C:\*lrelease.exe /s /b
53-
dir C:\*linguist.exe /s /b
54-
echo.
55-
5651
:: Remove previous cmake build folder
5752
rmdir /s /q build >nul 2>nul
5853
:: Link MinGW to system variables
@@ -77,6 +72,13 @@ jobs:
7772
echo Compilation and linking executables done
7873
echo.
7974
75+
:: Copy translation tools
76+
mkdir build\exe\Translations\Tools
77+
copy /y C:\Qt\5.15.2\mingw81_64\bin\lrelease.exe build\exe\Translations\Tools
78+
copy /y C:\Qt\5.15.2\mingw81_64\bin\linguist.exe build\exe\Translations\Tools
79+
echo lrelease.exe -- CLI Qt compilation tool to compile *.ts files to the *.qm. Run lrelease.exe --help to see more info about how to use it. >> build\exe\Translations\Tools\readme.txt
80+
echo linguist.exe -- GUI Qt translation tool to edit *.ts files. >> build\exe\Translations\Tools\readme.txt
81+
8082
:: Add any file to "Logs" folder for the next shipping
8183
mkdir build\exe\Logs >nul 2> nul
8284
cd build\exe\Logs

0 commit comments

Comments
 (0)