Explicitly enable exceptions for QtQml
authorLars Knoll <lars.knoll@nokia.com>
Wed, 9 May 2012 19:38:12 +0000 (21:38 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 14 May 2012 08:12:24 +0000 (10:12 +0200)
QtQml uses a try/catch statement in one place to
safeguard QList resizing. Since this can be called
from the JS side, it needs to be safeguarded.

Long term we should find a different way of handling this
then using exceptions in one place.

Change-Id: I51864d1b7ab468dd190c48e7a47c852ce35d40f1
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
src/qml/qml.pro

index acafb9f..283732a 100644 (file)
@@ -3,7 +3,7 @@ load(qt_module)
 TARGET     = QtQml
 QPRO_PWD   = $$PWD
 
-CONFIG += module
+CONFIG += module exceptions
 MODULE_PRI += ../../modules/qt_qml.pri
 
 QT = core-private network v8-private