path: root/dist
diff options
authorLars Knoll <>2012-05-16 23:09:56 +0200
committerQt by Nokia <>2012-05-18 21:38:35 +0200
commit83645377e98fb1312b6f80a1c996a013b62f0b46 (patch)
tree702d6254af0d6474dd4c504595391087e0c4b1d4 /dist
parent9e13d169a4bb7e70473945734846e6fc71be8815 (diff)
Make QCoreApp::translate and related methods use UTF-8
Deprecate the Encoding enum in QCoreApplication and the trUtf8() methods. Qt now assumes that source code is always encoded in UTF-8 to be consistent with QString. Change-Id: Ic62d6947046dee9be0cbd37f2d2f6976b9e572a7 Reviewed-by: Thiago Macieira <>
Diffstat (limited to 'dist')
1 files changed, 3 insertions, 3 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 21f0c88ad8..f227a123f8 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -354,9 +354,9 @@ QtCore
libraries, creating uncertainty/bugs in using QString easily, and (to a lesser
extent) performance issues.
-* QTextCodec::codecForTr() and QTextCodec::setCodecForTr() have been removed,
- QCoreApplication::Encoding value CodecForTr is now obsolete, use
- DefaultCodec instead. For reasoning, see the codecForCStrings() removal above.
+* QTextCodec::codecForTr() and QTextCodec::setCodecForTr() have been removed.
+ QObject::trUtf8 and QCoreApplication::Encoding enum are now obsolete. Qt assumes
+ that the source code is encoded in UTF-8.
* QFile::setEncodingFunction and QFile::setDecodingFunction are obsolete and do
nothing in Qt 5. The QFile::encodeName and QFile::decodeName functions are now