Boost logo

Boost-Build :

Subject: Re: [Boost-build] qt5.jam moc call bug
From: Jürgen Hunold (jhunold_at_[hidden])
Date: 2014-01-17 15:53:28


Hi Thomas,

On Thursday, 16. January 2014 12:20:06 Thomas Bretgeld wrote:
> today I was trying to compile a simple Qt5 program consisting of a main.cpp
> together with an empty main window subclass. I have used Qt 5.2.0 as a
> binary 32bit install under Ubuntu 12.04. Compilation doesn't finish -
> instead bjam just hangs forever. However a simple "Hello World" app
> consisting of a single main.cpp that just opens a QLabel as the root window
> does compile fine. I have searched for the error and it seems that the
> qt5.jam moc call is not finishing. bjam -n reveals the call that doesn't
> terminate:

[cut detailed description]

> Can someone clarify, if removing the "-f" is the right solution? It may also
> be that somewhere else in the qt5.jam the wrong moc action is picked, which
> could as well be the source of this error.

Well, removing -f will work. I had committed this to trunk (develop) branch
when an IRC conversation revealed that this is a bug. See

https://bugreports.qt-project.org/browse/QTBUG-33749

for the open bug report. Maybe voting might help.

> PS: I am using the bjam from boost 1.55.0

Yes, I skipped the merge to 1.55.0. I have not followed the bug and don't have
the time to fix this myself at the moment.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! 
* voice: ++49 4257 300       ! Fährstraße 1
* fax  : ++49 4257 300       ! 31609 Balge/Sebbenhausen
* jhunold_at_gmx.eu             ! Germany

Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk