Commit a0d39a9a authored by Konstantin Ritt's avatar Konstantin Ritt Committed by Friedemann Kleint
Browse files

explicitly enable exceptions where they are required



commit 2b21dd69d6a4e47f0ec3d3958ab1def0983ce76c in qtbase desabled the
exceptions support by default for most modules.
Make sure we explicitly enable them for plugins and libraries that uses
exceptions internally.

Change-Id: Id3dc9d572ac7ccd35a869046cfc5d6c4ffec3ba2
Reviewed-by: default avatarLars Knoll <lars.knoll@nokia.com>
Reviewed-by: default avatarFriedemann Kleint <Friedemann.Kleint@nokia.com>
parent f1c77a83
......@@ -5,6 +5,8 @@ PRECOMPILED_HEADER = ../../precompiled_headers/botan_pch.h
include(../../../../qtcreatorlibrary.pri)
CONFIG += exceptions
DEPENDPATH += .
INCLUDEPATH += $$PWD $$PWD/../build $$PWD/../build/botan
unix:QMAKE_CXXFLAGS_DEBUG += -O2
......
......@@ -7,6 +7,8 @@ dll {
INCLUDEPATH += $$PWD
QT += network script
CONFIG += exceptions # used by portlist.cpp, textfileformat.cpp, and ssh/*
win32-msvc* {
# disable warnings caused by botan headers
QMAKE_CXXFLAGS += -wd4250 -wd4290
......
QT -= gui
QT += network
CONFIG += exceptions
TARGET = zeroconf
TEMPLATE = lib
......
......@@ -16,6 +16,8 @@ QT += gui \
network \
script
CONFIG += exceptions
HEADERS += \
basewindow.h \
breakhandler.h \
......
TEMPLATE = lib
TARGET = QmlDesigner
CONFIG += exceptions
INCLUDEPATH += $$PWD
include(../../qtcreatorplugin.pri)
......
CONFIG += exceptions
SOURCES += $$PWD/s60manager.cpp \
$$PWD/symbianidevice.cpp \
$$PWD/symbianideviceconfigwidget.cpp \
......
......@@ -2,6 +2,7 @@ TEMPLATE = lib
TARGET = TextEditor
DEFINES += TEXTEDITOR_LIBRARY
QT += xml network
CONFIG += exceptions
greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport
include(../../qtcreatorplugin.pri)
include(texteditor_dependencies.pri)
......
......@@ -8,6 +8,8 @@ include(memcheck/memcheck.pri)
include(xmlprotocol/xmlprotocol.pri)
QT *= network
CONFIG += exceptions
INCLUDEPATH *= $$PWD
HEADERS += \
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment