[prev in list] [next in list] [prev in thread] [next in thread] 

List:       pykde
Subject:    using pylupdate5 for PyQt6 application
From:       Efrem Braun <efrem.braun () gmail ! com>
Date:       2022-01-25 15:07:00
Message-ID: CALV7rxka5eMC3=QNVW34EDqn9tvK1dUZDpbcNnFOC7XiCkoEEA () mail ! gmail ! com
[Download RAW message or body]

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.

[Attachment #3 (text/html)]

<div dir="ltr"><div dir="ltr" data-smartmail="gmail_signature">Hello,</div><div \
dir="ltr" data-smartmail="gmail_signature"><br></div><div \
data-smartmail="gmail_signature">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.</div><div \
data-smartmail="gmail_signature"><br></div><div data-smartmail="gmail_signature">With \
pylupdate5, I&#39;d simply type `pylupdate5 <a href="http://main.pro" \
target="_blank">main.pro</a>`, and <a href="http://main.pro" \
target="_blank">main.pro</a> 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.</div><div data-smartmail="gmail_signature"><br></div><div \
data-smartmail="gmail_signature">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.</div><div data-smartmail="gmail_signature"><br></div><div \
data-smartmail="gmail_signature">Thank you.</div></div>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic