2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
SOURCES += jkqtplot_test.cpp \
|
|
|
|
testmain.cpp \
|
|
|
|
TestWidgetFunctionPlots.cpp \
|
|
|
|
TestWidgetGeometry.cpp \
|
|
|
|
TestWidgetGraphs.cpp \
|
|
|
|
TestWidgetImages.cpp \
|
|
|
|
TestWidgetLogGraphs.cpp \
|
|
|
|
TestWidgetParamScatterPlots.cpp \
|
|
|
|
TestWidgetPeaksPlots.cpp \
|
|
|
|
TestWidgetRGBImages.cpp \
|
|
|
|
TestWidgetBarcharts.cpp \
|
|
|
|
TestWidgetContourPlots.cpp \
|
|
|
|
TestWidgetEmptyPlot.cpp \
|
|
|
|
QTeXEngine/src/QTeXPaintEngine.cpp \
|
|
|
|
QTeXEngine/src/QTeXPaintDevice.cpp
|
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
} else {
|
|
|
|
win32 {
|
|
|
|
SOURCES += jkqtpemfengineadapter.cpp \
|
|
|
|
EmfEngine/src/EmfPaintDevice.cpp \
|
|
|
|
EmfEngine/src/EmfEngine.cpp \
|
|
|
|
|
|
|
|
HEADERS +=EmfEngine/src/EmfEngine.h \
|
|
|
|
jkqtpemfengineadapter.h
|
|
|
|
|
|
|
|
LIBS += -lgdi32
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
HEADERS += testmain.h \
|
|
|
|
TestWidgetFunctionPlots.h \
|
|
|
|
TestWidgetGeometry.h \
|
|
|
|
TestWidgetGraphs.h \
|
|
|
|
TestWidgetImages.h \
|
|
|
|
TestWidgetLogGraphs.h \
|
|
|
|
TestWidgetParamScatterPlots.h \
|
|
|
|
TestWidgetPeaksPlots.h \
|
|
|
|
TestWidgetRGBImages.h \
|
|
|
|
TestWidgetBarcharts.h \
|
|
|
|
TestWidgetContourPlots.h \
|
|
|
|
TestWidgetEmptyPlot.h \
|
|
|
|
QTeXEngine/src/QTeXEngine.h
|
|
|
|
|
|
|
|
|
|
|
|
RESOURCES += jkqtplot_test.qrc
|
|
|
|
|
|
|
|
|
|
|
|
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
|
|
|
|
|
|
|
TARGET = jkqtplot_test
|
|
|
|
|
|
|
|
# configure Qt
|
2019-01-26 20:00:40 +08:00
|
|
|
CONFIG += link_prl qt
|
2018-12-29 00:46:47 +08:00
|
|
|
QT += core gui xml svg
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
|
2019-01-20 23:15:10 +08:00
|
|
|
# include JKQTPlotter source code
|
2018-12-29 00:46:47 +08:00
|
|
|
DEPENDPATH += $$PWD
|
|
|
|
#$$PWD/../../lib
|
|
|
|
INCLUDEPATH += ../../lib
|
|
|
|
CONFIG (debug, debug|release) {
|
2019-02-09 22:25:16 +08:00
|
|
|
LIBS += -L../../staticlib/jkqtplotterlib/debug -ljkqtplotterlib_debug
|
2018-12-29 00:46:47 +08:00
|
|
|
} else {
|
2019-02-09 22:25:16 +08:00
|
|
|
LIBS += -L../../staticlib/jkqtplotterlib/release -ljkqtplotterlib
|
2018-12-29 00:46:47 +08:00
|
|
|
}
|
|
|
|
message("LIBS = $$LIBS")
|
|
|
|
|
|
|
|
|
2019-02-08 00:24:46 +08:00
|
|
|
|
|
|
|
|
|
|
|
|