Autotest: Parse text as UTF-8 in processPlainTextOutput()

Change-Id: I252618fb0f547a43f914ec088a3ab3f2ef417b58
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
Andre Hartmann
2019-01-27 08:34:17 +01:00
committed by André Hartmann
parent 0af0f58a60
commit 1099761d25

View File

@@ -363,7 +363,7 @@ void QtTestOutputReader::processPlainTextOutput(const QByteArray &outputLineWith
if (m_futureInterface.isCanceled())
return;
const QString line = QString::fromLatin1(chopLineBreak(outputLineWithNewLine));
const QString line = QString::fromUtf8(chopLineBreak(outputLineWithNewLine));
if (result.exactMatch(line)) {
processResultOutput(result.cap(1).toLower().trimmed(), result.cap(2));