diff --git a/lib/jkqtplotter.pri b/lib/jkqtplotter.pri index 7ef4a34956..1f2436956b 100644 --- a/lib/jkqtplotter.pri +++ b/lib/jkqtplotter.pri @@ -1,6 +1,9 @@ - -QMAKE_CXXFLAGS += -fexceptions +!win32-msvc* { + QMAKE_CXXFLAGS += -fexceptions +} else { + QMAKE_CXXFLAGS += /EHsc +} HEADERS += $$PWD/jkqtplotter/jkqtpbaseplotter.h \ $$PWD/jkqtplotter/jkqtpdatastorage.h \