1 CONFIG -= exceptions
2 QMAKE_CFLAGS += $$QMAKE_CFLAGS_EXCEPTIONS_OFF
3 QMAKE_CXXFLAGS += $$QMAKE_CXXFLAGS_EXCEPTIONS_OFF
4 QMAKE_LFLAGS += $$QMAKE_LFLAGS_EXCEPTIONS_OFF
5