MSVC: Fix compile issues of JKQtFastPlotter

This commit is contained in:
Razi Alavizadeh 2018-12-20 03:22:41 +03:30
parent 71b562f29c
commit 5e9dd436aa

View File

@ -1,7 +1,15 @@
QMAKE_CXXFLAGS += -fexceptions
!win32-msvc* {
QMAKE_CXXFLAGS += -fexceptions
} else {
QMAKE_CXXFLAGS += /EHsc
# To enable M_PI, M_E,...
DEFINES += _USE_MATH_DEFINES
# To fix error: C2338: va_start argument must not
# have reference type and must not be parenthesized
DEFINES += _CRT_NO_VA_START_VALIDATION
}
HEADERS += $$PWD/jkqtfastplotter/jkqtfastplotter.h \
$$PWD/jkqtplottertools/jkqtptools.h \