2018-11-26 03:25:44 +08:00
|
|
|
|
|
|
|
|
2018-12-20 07:52:41 +08:00
|
|
|
!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
|
|
|
|
}
|
2018-11-26 03:25:44 +08:00
|
|
|
|
|
|
|
HEADERS += $$PWD/jkqtfastplotter/jkqtfastplotter.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqtptools.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqtphighrestimer.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqtp_imexport.h
|
|
|
|
|
|
|
|
|
|
|
|
SOURCES += $$PWD/jkqtfastplotter/jkqtfastplotter.cpp \
|
|
|
|
$$PWD/jkqtplottertools/jkqtptools.cpp \
|
|
|
|
$$PWD/jkqtplottertools/jkqtphighrestimer.cpp
|
|
|
|
|
|
|
|
|
|
|
|
RESOURCES += $$PWD/jkqtplotterressources/jkqtpbaseplotter.qrc
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
|
|
|
|
QT += core gui opengl
|
2018-12-02 21:08:43 +08:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
2018-11-26 03:25:44 +08:00
|
|
|
|