diff --git a/lib/jkqtplotter.pri b/lib/jkqtplotter.pri index 1f2436956b..525bf47bc2 100644 --- a/lib/jkqtplotter.pri +++ b/lib/jkqtplotter.pri @@ -3,6 +3,8 @@ QMAKE_CXXFLAGS += -fexceptions } else { QMAKE_CXXFLAGS += /EHsc + # To enable M_PI, M_E,... + DEFINES += _USE_MATH_DEFINES } HEADERS += $$PWD/jkqtplotter/jkqtpbaseplotter.h \