Work around wrong return code from pclose
authorPaul Olav Tvete <paul.tvete@digia.com>
Tue, 24 Sep 2013 08:32:32 +0000 (10:32 +0200)
committerThe Qt Project <gerrit-noreply@qt-project.org>
Wed, 25 Sep 2013 09:40:10 +0000 (11:40 +0200)
commitd5b591e828cb2de435907842dee371cfe2d13e48
treecd8e11756730d86f763b5c53b3f5d3a2f4917d70
parentc879400e3d5a0cde94c44b261111f153f391841b
Work around wrong return code from pclose

When we do not read the process output, pclose returns an error code even
if the process completes successfully. The simple fix is to always
read the output, even if we don't need it.

Change-Id: Idaec75acbdea6a911aede04506cbd403120b3d92
Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
src/androiddeployqt/main.cpp