path: root/dist
diff options
authorRobin Burchell <>2012-02-01 00:33:30 +0200
committerQt by Nokia <>2012-03-06 06:34:52 +0100
commit95fa88abe7441f49b64a0b398e16b04b3b6bdbc9 (patch)
tree249b9e3bbe83e760548437c5dcf8d880f8cb46b9 /dist
parent84ddc063805deaa6e76eeff56076f5f359635073 (diff)
Remove codecForTr().
Similarly to change id I2f429fa7ef93bd75bb93a7f64c56db15b7283388, the capability to arbitrarily alter the encoding of literals is very destructive, especially in a world with libraries and plugins. Change-Id: If0d4cd8dcf89792e39c1984cbde6b036cebfc02f Reviewed-by: Thiago Macieira <> Reviewed-by: Lars Knoll <>
Diffstat (limited to 'dist')
1 files changed, 4 insertions, 0 deletions
diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0
index 9644df40a4..93f8543fd8 100644
--- a/dist/changes-5.0.0
+++ b/dist/changes-5.0.0
@@ -310,6 +310,10 @@ 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.
* QIntValidator and QDoubleValidator no longer fall back to using the C locale if
the requested locale fails to validate the input.