summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDavid Faure <david.faure@kdab.com>2020-11-06 20:26:44 +0100
committerDavid Faure <david.faure@kdab.com>2020-11-07 11:13:23 +0100
commit3a7d6159fbb85e872ab746d30bdbf3329ed43e17 (patch)
treef4316c9d97f8040daeb93a913c37087fa13d4814 /tests
parent7c4f3df7ba750fc6d5e6e1068fc87fe787b53089 (diff)
downloadqtsvg-3a7d6159fbb85e872ab746d30bdbf3329ed43e17.tar.gz
QtSvg: build with explicit QChar(int) constructor
Change-Id: I4d2a336b63f65ae6235b9a4b5c899e4d624492cd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
Diffstat (limited to 'tests')
-rw-r--r--tests/auto/qsvggenerator/tst_qsvggenerator.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/qsvggenerator/tst_qsvggenerator.cpp b/tests/auto/qsvggenerator/tst_qsvggenerator.cpp
index 4f626c3..22657f0 100644
--- a/tests/auto/qsvggenerator/tst_qsvggenerator.cpp
+++ b/tests/auto/qsvggenerator/tst_qsvggenerator.cpp
@@ -298,7 +298,7 @@ void tst_QSvgGenerator::fileEncoding()
generator.setOutputDevice(&buffer);
static const QChar unicode[] = { 'f', 'o', 'o',
- 0x00F8, 'b', 'a', 'r'};
+ u'\u00F8', 'b', 'a', 'r'};
int size = sizeof(unicode) / sizeof(QChar);
QString unicodeString = QString::fromRawData(unicode, size);