Thanks Vlad

I'm using the ubuntu 14.04 stable repos, which is boost-1.55

Any idea in which release this was fixed?

On 29 June 2015 at 13:35, Vladimir Prus <> wrote:
On 6/29/2015 9:32 PM, Steve Lorimer wrote:

This results in the following moc command being issued:

    /sdk/Qt5.4.0/5.4/gcc_64/bin/moc -f calculatorform.h -o

*This call will hang indefinitely*.

It seems the issue is *due to the -f flag*. If I edit the moc action in qt5.jam to remove the -f, then it works

That is, I edit this:

    actions moc
         $(.BINPREFIX[-1])/moc -f $(>) -o $(<) @"@($(<).rsp:E=-D$(DEFINES)$(.nl) -I$(INCLUDES:T)$(.nl))"

so it looks like this (note missing -f):

    actions moc
         $(.BINPREFIX[-1])/moc $(>) -o $(<) @"@($(<).rsp:E=-D$(DEFINES)$(.nl) -I$(INCLUDES:T)$(.nl))"

Hi Steve,

could it be that you have old version of Boost.Build. Looking at the current version, I don't see -f option:


Unsubscribe & other changes: