[PyQt] Linguist and Lrelease issue

Phil Thompson phil at riverbankcomputing.com
Thu Aug 14 13:11:53 BST 2014


On 06/08/2014 8:40 am, Gianluca Romanin wrote:
> Hi all,
> 
> I installed PyQt5 5.3.1 on windows with the installer from the website 
> and
> I'm trying to
> compile my i18n files with lrelease. I get this output:
> 
> ------------
>> lrelease mypro.pro
> Could not find qmake configuration file default.
> lrelease error: cannot process project file 'mypro.pro'.
> ------------
> 
> I generated the pro file with a script and ... yes ... there is no 
> qmake in
> the PyQt
> distribution. There is no qt distribution installed in my workstation
> (except for
> the one in PyQt5). So, no qmake.
> 
> - Is a qmake configuration file enough to make lrelease work?
> - Or does lrelease need the full qmake distribution?

It needs qmake.exe and the mkspecs directory.

> - And if so, does lrelease make sense in the PyQt binary distribution?

They will be included in the next release. The workaround is to specify 
the .ts files on the command line.

Phil


More information about the PyQt mailing list