[Merkaartor] How to compile the translations?

Moritz Barsnick barsnick at gmx.net
Sun Jun 7 21:47:56 BST 2009


Àllo Yves,

On Sun, Jun 07, 2009 at 19:56:30 +0200, Yves Goergen wrote:

> I have called 'lrelease Merkaartor.pro' from the merkaartor base
> directory (where I called qmake and make before to build
> Merkaartor.exe). Here's the output:
> 
> lrelease warning: Met no 'TRANSLATIONS' entry in project file
> 'Merkaartor.pro'
> 
> I guess it didn't work.

Indeed, in SVN (from r14095) the project file contents have moved from
Merkaartor.pro to src/src.pro and plugins/plugins.pro.  But lrelease
doesn't seem to recurse like qmake does.

If you change to src/ and execute
lrelease src.pro
it _should_ work.

On the other hand, I get a lovely error if I do that:
barsnick at sunshine:/usr/src/merkaartor-SVN-15658-build/src > lrelease-qt4 src.pro
/usr/local/new/tools/navigation/openstreetmap/merkaartor-SVN-15658-build/src/src.pro(30):Project ERROR: Merkaartor requires Qt 4.4 or newer but Qt 4.5.0 was detected.
[... continues to process translations ...]

D'uh!

Moritz




More information about the Merkaartor mailing list