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

List:       pykde
Subject:    Re: incompatibility between pylupdate5 and pylupdate6
From:       Marko Luther <marko.luther () gmx ! net>
Date:       2021-10-04 11:19:30
Message-ID: B8FAF082-30B7-462C-8BAB-6B8FC805B62D () gmx ! net
[Download RAW message or body]

Dear Phil,

> On 4. Oct 2021, at 13:00, Phil Thompson <phil@riverbankcomputing.com> wrote:
> 
> 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.

thanks for your quick reaction and sorry that I did not report this before the PyQt6.2 release.
> 
>> Also pylupdate6 does not support .pro project files.
>> Is there a reason for this?
> 
> I didn't want to implement a .pro file parser.

Fine for me,
M

> 
> Phil

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

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