forked from qt-creator/qt-creator
Android: Merge output channels of AVD process
Otherwise, if the process produces a non-0 exit code, we get an error message with only the stdout, which likely is empty. Change-Id: I3b84f928cf786015aab499cdc2277d530d243841 Reviewed-by: BogDan Vatra <bogdan@kdab.com>
This commit is contained in:
@@ -297,6 +297,7 @@ bool AndroidAvdManager::startAvdAsync(const QString &avdName) const
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
QProcess *avdProcess = new QProcess();
|
QProcess *avdProcess = new QProcess();
|
||||||
|
avdProcess->setReadChannelMode(QProcess::MergedChannels);
|
||||||
QObject::connect(avdProcess,
|
QObject::connect(avdProcess,
|
||||||
static_cast<void (QProcess::*)(int)>(&QProcess::finished),
|
static_cast<void (QProcess::*)(int)>(&QProcess::finished),
|
||||||
avdProcess,
|
avdProcess,
|
||||||
|
|||||||
Reference in New Issue
Block a user