Ensure that qmake doesn't lose the error code when processing subdirs
commite1f691d84dad17c5ee47c97c31ae743093ad8bc9
authorAndy Shaw <qt-info@nokia.com>
Thu, 8 Oct 2009 07:15:20 +0000 (8 09:15 +0200)
committerMarius Storm-Olsen <marius.storm-olsen@nokia.com>
Mon, 19 Oct 2009 11:30:18 +0000 (19 13:30 +0200)
tree44191509230f34997040582706bb24c678b738cd
parentf9e46cdb2d9a42d52f90fe50a53a76c03065b9ce
Ensure that qmake doesn't lose the error code when processing subdirs

When processing a project in a subdirs template failed for whatever
reason then qmake would lose the result of that and would return an
error code of 0 if the subdirs project file itself was processed fine.

So now it ensures that any errors arising from processing a project
referenced in a subdirs project file are not lost so that the error code
returned from qmake will indicate an error actually occured.

Task-number: QTBUG-4065
Reviewed-by: mariusSO
Original-commit: c15b370c9db16fdbfd9e7bec89ee9bf8c1110827
qmake/generators/metamakefile.cpp
qmake/generators/metamakefile.h
qmake/main.cpp