From f64a6bd638d399403845fe52e6f8e52889f1f52b Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Thu, 30 Apr 2020 10:50:44 +0200 Subject: Start work on a new API to replace QTextCodec The new QStringEncoder and QStringDecoder classes (with a common QStringConverter base class) are there to replace QTextCodec in Qt 6. It currently uses a trivial wrapper around the utf encoding functionality. Added some autotests, mostly copied from the text codec tests. Change-Id: Ib6eeee55fba918b9424be244cbda9dfd5096f7eb Reviewed-by: Thiago Macieira --- tests/auto/corelib/text/qstringconverter/qstringconverter.pro | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tests/auto/corelib/text/qstringconverter/qstringconverter.pro (limited to 'tests/auto/corelib/text/qstringconverter/qstringconverter.pro') diff --git a/tests/auto/corelib/text/qstringconverter/qstringconverter.pro b/tests/auto/corelib/text/qstringconverter/qstringconverter.pro new file mode 100644 index 0000000000..6cd797e805 --- /dev/null +++ b/tests/auto/corelib/text/qstringconverter/qstringconverter.pro @@ -0,0 +1,5 @@ +CONFIG += testcase +QT = core testlib +SOURCES = tst_qstringconverter.cpp + +TARGET = tst_qstringconverter -- cgit v1.2.3