compile fix for >=Qt-4.8.3

Qt-4.8.3 removed the flags -frtti and -fexceptions from the standard configuration. We now explicitly request RTTI and exceptions.
pull/1/head
Sebastian Held 2012-10-06 20:56:51 +02:00
parent 384cfe5677
commit 25e7cb2b20
1 changed files with 4 additions and 1 deletions

View File

@ -3,6 +3,7 @@
# -------------------------------------------------
TARGET = openEMS
CONFIG -= app_bundle qt
CONFIG += rtti exceptions
TEMPLATE = app
OBJECTS_DIR = obj
INCLUDEPATH += .
@ -40,6 +41,7 @@ win32 {
# tinyxml
INCLUDEPATH += $$WIN32_LIB_ROOT/tinyxml/include
LIBS += -L$$WIN32_LIB_ROOT/tinyxml/bin -ltinyxml2
DEFINES += TIXML_USE_STL
# fparser
INCLUDEPATH += $$WIN32_LIB_ROOT/fparser/include
LIBS += -L$$WIN32_LIB_ROOT/fparser/bin -lfparser4
@ -49,7 +51,7 @@ win32 {
# boost
DEFINES += BOOST_THREAD_USE_LIB
INCLUDEPATH += $$WIN32_LIB_ROOT/boost/include
LIBS += -L$$WIN32_LIB_ROOT/boost/lib -lboost_thread -lboost_chrono -lboost_system
LIBS += -L$$WIN32_LIB_ROOT/boost/lib -lboost_thread
# vtk
INCLUDEPATH += $$WIN32_LIB_ROOT/vtk/include/vtk-5.10
LIBS += -L$$WIN32_LIB_ROOT/vtk/bin -lvtkCommon -lvtkIO -lvtkFiltering
@ -57,6 +59,7 @@ win32 {
!win32 {
LIBS += -lfparser
LIBS += -ltinyxml
DEFINES += TIXML_USE_STL
LIBS += -lboost_thread-mt
LIBS += -lhdf5 -lhdf5_cpp
# CSXCAD