using pylupdate5 for PyQt6 application
Efrem Braun
efrem.braun at gmail.com
Tue Jan 25 15:07:00 GMT 2022
Hello,
I recently updated my application from PyQt5 to PyQt6. I tried using
pylupdate6 to generate the translation files, and I saw that it has a
different command line usage than pylupdate5.
With pylupdate5, I'd simply type `pylupdate5 main.pro`, and main.pro would
list all my source and translation files. With pylupdate6, I now have to
type `pylupdate6 --ts ja_JP.ts MainWindow.py ManageDatabases.py
Ui_MainWindow.py Ui_ManageDatabases.py` plus about 15 other files.
I much prefer the pylupdate5 interface, and the .ts files seem to work just
fine in generating .qm files forh my PyQt5 application. Is there any reason
to use pylupdate6 for compatibility with my PyQt6 application? I suspect
not, since the .ts files look the same, but I figured it could be worth
checking.
Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20220125/b439b3bc/attachment.htm>
More information about the PyQt
mailing list