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 <vladimir.prus@gmail.com> 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
    bin/gcc-4.9.2/debug/threading-multi/moc_calculatorform.cpp
    @"bin/gcc-4.9.2/debug/threading-multi/moc_calculatorform.cpp.rsp"


*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:

        https://github.com/boostorg/build/blob/develop/src/tools/qt5.jam#L713

Thanks,
Volodya

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build