forked from qt-creator/qt-creator
Android: Make warnings in application output red too
This does include qWarning() and qDebug() output Task-number: QTCREATORBUG-10559 Change-Id: I12e98cc25574003d1d26cda84dff5db0c323959d Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@digia.com>
This commit is contained in:
@@ -370,7 +370,9 @@ void AndroidRunner::logcatReadStandardOutput()
|
|||||||
if (line.endsWith('\r'))
|
if (line.endsWith('\r'))
|
||||||
line.chop(1);
|
line.chop(1);
|
||||||
line.append('\n');
|
line.append('\n');
|
||||||
if (line.startsWith("E/"))
|
if (line.startsWith("E/")
|
||||||
|
|| line.startsWith("D/Qt")
|
||||||
|
|| line.startsWith("W/"))
|
||||||
emit remoteErrorOutput(line);
|
emit remoteErrorOutput(line);
|
||||||
else
|
else
|
||||||
emit remoteOutput(line);
|
emit remoteOutput(line);
|
||||||
|
|||||||
Reference in New Issue
Block a user