path: root/.qmake.conf
diff options
authorSimon Hausmann <>2013-07-22 10:45:20 +0200
committerThe Qt Project <>2013-07-22 16:13:28 +0200
commite1b6513df584ad48fa92e383fd16e08293081bb9 (patch)
tree75b21f22a6ededee464cd2753c4e01df18d0c9f9 /.qmake.conf
parent3a6f5735ee723ff998114314c5ccdf6609667f6f (diff)
Fix crashes in tst_qquickcanvasitem with older Ubuntu toolchains
Older versions appear to be much more sensitive to missing unwind tables, and as it turns out: We were compiling QtQuick (not QtQml) with -fno-exceptions. Since the entire module has access to the private V4 API and may therefore be subject to exception traversal, make sure to compile the entire module with CONFIG += exceptions. Change-Id: If2d029879392c22af7da2f1bba94366d51518226 Reviewed-by: Erik Verbruggen <>
Diffstat (limited to '.qmake.conf')
1 files changed, 5 insertions, 0 deletions
diff --git a/.qmake.conf b/.qmake.conf
index f21f463f3c..6b70079d45 100644
--- a/.qmake.conf
+++ b/.qmake.conf
@@ -15,3 +15,8 @@ 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