incompatibility between pylupdate5 and pylupdate6

Marko Luther marko.luther at gmx.net
Sun Oct 3 16:17:29 BST 2021


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?

Also pylupdate6 does not support .pro project files. 

Is there a reason for this?

Thanks,
Marko


More information about the PyQt mailing list