diff options
author | Lars Knoll <lars.knoll@nokia.com> | 2012-05-09 18:52:44 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-17 05:14:26 +0200 |
commit | 2b21dd69d6a4e47f0ec3d3958ab1def0983ce76c (patch) | |
tree | 5ddb2fc848bb3a57b3b122c0783cb01fd9c80237 /mkspecs/features/exceptions.prf | |
parent | d07982b104de5dc2b54bef09c071500ce22cf539 (diff) |
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 <thiago.macieira@intel.com>
Diffstat (limited to 'mkspecs/features/exceptions.prf')
-rw-r--r-- | mkspecs/features/exceptions.prf | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/mkspecs/features/exceptions.prf b/mkspecs/features/exceptions.prf new file mode 100644 index 0000000000..ebfd5837cf --- /dev/null +++ b/mkspecs/features/exceptions.prf @@ -0,0 +1,6 @@ +CONFIG -= exceptions_off +QMAKE_CFLAGS *= $$QMAKE_CFLAGS_EXCEPTIONS_ON +QMAKE_CXXFLAGS *= $$QMAKE_CXXFLAGS_EXCEPTIONS_ON +QMAKE_LFLAGS *= $$QMAKE_LFLAGS_EXCEPTIONS_ON +DEFINES -= QT_NO_EXCEPTIONS + |