QMake and make with parallel jobs [bug?]
Hi folks,
is seems like theres is a bug in the Makefile generation of qmake. When running make after qmake as usual, I get no errors, but running it with multiple jobs, lets say “make -j3”, I get the following error:
- make: *** No rule to make target `../../../ui/ui_something.h', needed by `something.o'. Stop.
- make: *** Waiting for unfinished jobs....
It looks like, that the uic does not finish before the other parallel compile jobs start. Is there a way to fix this (I mean not by starting make twice)?
Thanks in advance!
Best,
Eckard
7 replies
No, of course. But qmake seems to write the uic calls into the makefile that make processes. Using make with the -j argument parallelizes the execution of the makefile to a certain extend. But make does not seem to care about the uic calls correctly, because it executes the following compile commands without waiting for the uic calls to be finished (which result in the upper error message).
This sounds like a bug to me. Have you considered filing it in our bugtracker [bugreports.qt.nokia.com] ?
created a new issue:
QTBUG-12139 [bugreports.qt.nokia.com]
You must log in to post a reply. Not a member yet? Register here!





