fix encoding when printing debug under wince
the strings are in local8bit format, not latin1 Change-Id: I19f20b0310351aacb26b70d8053ed267e710986f Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>bb10
parent
5df9a95d2c
commit
cca1cca53d
|
|
@ -196,7 +196,7 @@ namespace QTest {
|
|||
void QPlainTestLogger::outputMessage(const char *str)
|
||||
{
|
||||
#if defined(Q_OS_WINCE)
|
||||
QString strUtf16 = QString::fromLatin1(str);
|
||||
QString strUtf16 = QString::fromLocal8Bit(str);
|
||||
const int maxOutputLength = 255;
|
||||
do {
|
||||
QString tmp = strUtf16.left(maxOutputLength);
|
||||
|
|
|
|||
Loading…
Reference in New Issue