From 2b21dd69d6a4e47f0ec3d3958ab1def0983ce76c Mon Sep 17 00:00:00 2001 From: Lars Knoll Date: Wed, 9 May 2012 18:52:44 +0200 Subject: turn off exceptions by default where they aren't required This significantly reduces the size of the generated code in places where we don't need exceptions. The -(no-)exceptions configure flag has been removed in the process, as there is now a fine grained way to control this on a per module level, and Qt is being compiled without exceptions in most places. Change-Id: I99a15c5d03339db1fbffd4987935d0d671cdbc32 Reviewed-by: Thiago Macieira --- dist/changes-5.0.0 | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'dist') diff --git a/dist/changes-5.0.0 b/dist/changes-5.0.0 index 4d429d2c23..21f0c88ad8 100644 --- a/dist/changes-5.0.0 +++ b/dist/changes-5.0.0 @@ -238,6 +238,12 @@ information about a particular change. the raw values are available as QT_INSTALL_.../raw and the sysroot as QT_SYSROOT. The new QT_HOST_... properties can be used to refer to the Qt host tools. * Several functions and built-in variables were modified to return normalized paths. + * The -(no-)exception flags in configure have been removed. Qt modules are now compiled + without exceptions by default, as they do not use them and can neither handle them + properly. Qt Core still has exceptions enabled to correctly throw bad_alloc exceptions + in our tool classes. + Whether code should be compiled with exception support enabled or disabled can be + controlled by a CONFIG += exceptions/exceptions_off setting in the .pro file. - QTextCodecPlugin has been removed since it is no longer used. All text codecs are now built into QtCore. -- cgit v1.2.3