2018-11-26 03:25:44 +08:00
|
|
|
|
2018-12-05 06:05:44 +08:00
|
|
|
!win32-msvc* {
|
|
|
|
QMAKE_CXXFLAGS += -fexceptions
|
|
|
|
} else {
|
|
|
|
QMAKE_CXXFLAGS += /EHsc
|
2018-12-05 06:15:11 +08:00
|
|
|
# To enable M_PI, M_E,...
|
|
|
|
DEFINES += _USE_MATH_DEFINES
|
2018-12-05 06:21:41 +08:00
|
|
|
# To fix error: C2338: va_start argument must not
|
|
|
|
# have reference type and must not be parenthesized
|
|
|
|
DEFINES += _CRT_NO_VA_START_VALIDATION
|
2018-12-05 06:05:44 +08:00
|
|
|
}
|
2018-11-26 03:25:44 +08:00
|
|
|
|
|
|
|
HEADERS += $$PWD/jkqtplotter/jkqtpbaseplotter.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpdatastorage.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpbasegraphs.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpbaseelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtplotter.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqtptools.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqttools.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpimageelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpimagetools.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpbarchartelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpboxplotelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpevaluatedfunctionelements.h \
|
2018-12-02 21:08:43 +08:00
|
|
|
$$PWD/jkqtplotter/jkqtpfilledcurveelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpimpulseselements.h \
|
2018-11-26 03:25:44 +08:00
|
|
|
$$PWD/jkqtplotter/jkqtpparsedfunctionelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpoverlayelements.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpgeoelements.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqtpmathparser.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqtp_imexport.h \
|
|
|
|
$$PWD/jkqtplotter/jkqtpplotsmodel.h \
|
2018-12-06 05:59:24 +08:00
|
|
|
$$PWD/jkqtmathtext/jkqtmathtext.h \
|
|
|
|
$$PWD/jkqtplottertools/jkqtphighrestimer.h
|
2018-11-26 03:25:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
SOURCES += $$PWD/jkqtplotter/jkqtpbaseplotter.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpdatastorage.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpbasegraphs.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpbaseelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtplotter.cpp \
|
|
|
|
$$PWD/jkqtplottertools/jkqtptools.cpp \
|
|
|
|
$$PWD/jkqtplottertools/jkqttools.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpimageelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpimagetools.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpbarchartelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpboxplotelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpevaluatedfunctionelements.cpp \
|
2018-12-02 21:08:43 +08:00
|
|
|
$$PWD/jkqtplotter/jkqtpfilledcurveelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpimpulseselements.cpp \
|
2018-11-26 03:25:44 +08:00
|
|
|
$$PWD/jkqtplotter/jkqtpparsedfunctionelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpoverlayelements.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpgeoelements.cpp \
|
|
|
|
$$PWD/jkqtplottertools/jkqtpmathparser.cpp \
|
|
|
|
$$PWD/jkqtplotter/jkqtpplotsmodel.cpp \
|
2018-12-06 05:59:24 +08:00
|
|
|
$$PWD/jkqtmathtext/jkqtmathtext.cpp \
|
|
|
|
$$PWD/jkqtplottertools/jkqtphighrestimer.cpp
|
2018-11-26 03:25:44 +08:00
|
|
|
|
|
|
|
|
|
|
|
RESOURCES += $$PWD/jkqtplotterressources/jkqtpbaseplotter.qrc
|
|
|
|
|
|
|
|
INCLUDEPATH += $$PWD
|
|
|
|
|
2018-12-02 21:08:43 +08:00
|
|
|
QT += core gui xml svg
|
|
|
|
#win32:LIBS += -lgdi32
|
2018-11-26 03:25:44 +08:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
2018-12-02 21:08:43 +08:00
|
|
|
include($$PWD/jkqtplotterressources/math_fonts/xits.pri)
|
|
|
|
DEFINES += AUTOLOAD_XITS_FONTS
|
|
|
|
DEFINES += USE_XITS_FONTS
|
2018-11-26 03:25:44 +08:00
|
|
|
|
|
|
|
# for support of palettes stored as XML, use:
|
|
|
|
QT += xml
|