incompatibility between pylupdate5 and pylupdate6
Phil Thompson
phil at riverbankcomputing.com
Mon Oct 4 12:00:21 BST 2021
On 03/10/2021 16:17, Marko Luther wrote:
> Hi,
>
> with pylupdate5 a statement like
>
> QApplication.translate("Context", 'Text', None)
>
> generated an entry in the indicated translation files. Not with
> pylupdate6. However,
>
> QApplication.translate("Context", 'Text')
>
> does in both cases.
>
> According to the documentation of QApplication (for Qt5 as for Qt6)
>
> https://doc.qt.io/qt-6/qcoreapplication.html#translate
>
> the third (optional) argument is by default a nullptr. Isn't Null
> translated to a nullptr anyhow?
Should be fixed in the next snapshot.
> Also pylupdate6 does not support .pro project files.
>
> Is there a reason for this?
I didn't want to implement a .pro file parser.
Phil
More information about the PyQt
mailing list