mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 18:11:38 +08:00
77 lines
1.7 KiB
Prolog
77 lines
1.7 KiB
Prolog
|
|
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
|
|
win32-msvc*: DEFINES += NOMINMAX
|
|
|
|
TARGET = jkqtplot_test
|
|
|
|
# configure Qt
|
|
CONFIG += link_prl qt
|
|
QT += core gui xml svg
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
# include JKQTPlotter source code
|
|
DEPENDPATH += $$PWD
|
|
#$$PWD/../../lib
|
|
INCLUDEPATH += ../../lib
|
|
CONFIG (debug, debug|release) {
|
|
LIBS += -L../../staticlib/jkqtplotterlib/debug -ljkqtplotterlib_debug
|
|
} else {
|
|
LIBS += -L../../staticlib/jkqtplotterlib/release -ljkqtplotterlib
|
|
}
|
|
message("LIBS = $$LIBS")
|
|
|
|
|
|
|
|
|
|
|