Error on build

Dirk Hohndel dirk at hohndel.org
Wed Apr 8 07:55:39 PDT 2015


On Wed, Apr 08, 2015 at 07:52:39AM -0700, Thiago Macieira wrote:
> On Wednesday 08 April 2015 06:34:19 Dirk Hohndel wrote:
> > On Wed, Apr 08, 2015 at 12:23:10PM +0300, Benjamin wrote:
> > > Due to some problems I was having, I wiped my entire source tree and
> > > downloaded Subsurface from the repository again.
> > > 
> > > When I called the subsurface/scripts/build.sh script, I got the following
> > > result:
> > > 
> > > Generating translations/subsurface_source.qm
> > > Generating translations/subsurface_bg_BG.qm
> > > Generating translations/subsurface_cs.qm
> > > /bin/sh: lrelease: command not found
> > 
> > Yes, some platforms call it "lrelease-qt5"
> > Simply call cmake with  -DLRELEASE=lrelease-qt5
> 
> That is already stored in cmake variable Qt5_LRELEASE_EXECUTABLE. We don't 
> need the user to tell us what executable to use.
> 
> It's in cmake module Qt5LinguistTools.

Excellent - I saw that Qt5LinguistTools should be able to automate some of
the things that I have hand coded there... but I couldn't get that to work
so I gave up.

But yes, we should definitely use the existing cmake variable instead of
inventing our own!

/D


More information about the subsurface mailing list