path: root/.qmake.conf
diff options
authorLars Knoll <>2013-10-30 10:08:28 +0100
committerThe Qt Project <>2013-10-30 12:16:25 +0100
commit0a3e9a41b1dbf7635865e3a9788075e11e5fc74b (patch)
tree3c70df87b181baadc0e8957dd95b9a9dc4b2608c /.qmake.conf
parent64eadc4aab0880d846067d76b12cc92cf406f3ec (diff)
Remove the last C++ exceptions from QtQml
Also clean up and compile the repository with exceptions disabled again. Change-Id: I653ae89353284b2f4ab884384f8ea6a5d100785d Reviewed-by: Simon Hausmann <>
Diffstat (limited to '.qmake.conf')
1 files changed, 0 insertions, 17 deletions
diff --git a/.qmake.conf b/.qmake.conf
index 10a0930287..b0bc49d477 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -4,20 +4,3 @@ CONFIG += warning_clean
-# For the JS engine we need to be able to produce back traces,
-# and as we're using the C stack, we need the system to be able
-# to walk it properly. Unfortunately on Windows with i386 there
-# are no unwind tables, that can compensate for an omitted frame
-# pointer, so we have no choice but to disable the frame pointer
-# omission optimizations.
-# Only within the qtdeclarative module we support throwing V4
-# exceptions, hence the choice of applying this change here.
-win32:equals(QT_ARCH, "i386") {
- *msvc*: QMAKE_CXXFLAGS += -Oy-
- *g++*: QMAKE_CXXFLAGS += -fno-omit-frame-pointer
-# Any code within this module has access to the private V4 API and
-# can therefore be subject to exception traversal. Support for exceptions
-# is therefore required, especially with older toolchains.
-CONFIG += exceptions