forked from qt-creator/qt-creator
Android: Try to parse the QML port from stderr
Most of the time the port is not announced on stdout but on stderr. Change-Id: If72bb7f65dcfe7e697de2545d33e99ddb6363ecf Reviewed-by: Daniel Teske <daniel.teske@digia.com> Reviewed-by: Kai Koehne <kai.koehne@digia.com>
This commit is contained in:
@@ -114,10 +114,12 @@ void AndroidAnalyzeSupport::handleRemoteOutput(const QByteArray &output)
|
||||
|
||||
void AndroidAnalyzeSupport::handleRemoteErrorOutput(const QByteArray &output)
|
||||
{
|
||||
const QString msg = QString::fromUtf8(output);
|
||||
if (m_runControl)
|
||||
m_runControl->logApplicationMessage(QString::fromUtf8(output), Utils::StdErrFormatSameLine);
|
||||
m_runControl->logApplicationMessage(msg, Utils::StdErrFormatSameLine);
|
||||
else
|
||||
AndroidRunSupport::handleRemoteErrorOutput(output);
|
||||
m_outputParser.processOutput(msg);
|
||||
}
|
||||
|
||||
void AndroidAnalyzeSupport::remoteIsRunning()
|
||||
|
||||
Reference in New Issue
Block a user