altendky / pyqt-tools

Qt tools including PyQt Designer and QML plugins
Other
242 stars 39 forks source link

Missing 'lrelease` and other tools since 5.15.1.1.7.5 #118

Open pmhahn opened 1 year ago

pmhahn commented 1 year ago

We are using pyinstaller to build a Qt5 application for both Linux and Windows. The installer for Windows uses WineHQ to run the Windows version of Python inside a Linux docker container. Our current build process requires calls lrelease. This worked up to version 5.15.1.1.7.5 but no longer afterwards.

pip install pyqt5-tools==5.15.1.1.7.5
find /wine/drive_c/Python37 -iname lrelease\*
# /wine/drive_c/Python37/Scripts/lrelease-pro.exe
# /wine/drive_c/Python37/Scripts/lrelease.exe
# /wine/drive_c/Python37/Lib/site-packages/pyqt5_tools/Qt/bin/lrelease-pro.exe
# /wine/drive_c/Python37/Lib/site-packages/pyqt5_tools/Qt/bin/lrelease.exe
python -c 'import shutil;print(shutil.which("lrelease"))'
# C:/Python37\Scripts\lrelease.EXE

Any later version no longer contains the files in /wine/drive_c/Python37/Scripts/ and lrelease is no longer found by default.

I tried to understand the difference between

but their exact purposes is still unclear to me, so I might have missed the right package to add which would give me back lrelease.

I also found https://github.com/altendky/qt-applications/pull/22 , but the latest version of qt-applications still did no solve my issue.

Can you help?