2015-08-05 20:27:09 +08:00
|
|
|
# NOTE: This shouldn't be built as a SHADOW build
|
|
|
|
!equals(PWD, $${OUT_PWD}) {
|
|
|
|
warning(This project should not be built as a shadow build!!!)
|
|
|
|
}
|
2015-07-11 18:56:02 +08:00
|
|
|
|
2018-11-26 03:25:44 +08:00
|
|
|
include(../../lib/jkqtplotter.pri)
|
2015-07-11 18:56:02 +08:00
|
|
|
|
2015-08-05 20:27:09 +08:00
|
|
|
SOURCES += jkqtplot_test.cpp \
|
2015-07-11 18:56:02 +08:00
|
|
|
testmain.cpp \
|
2018-11-18 21:24:29 +08:00
|
|
|
TestWidgetFunctionPlots.cpp \
|
|
|
|
TestWidgetGeometry.cpp \
|
|
|
|
TestWidgetGraphs.cpp \
|
|
|
|
TestWidgetImages.cpp \
|
|
|
|
TestWidgetLogGraphs.cpp \
|
|
|
|
TestWidgetParamScatterPlots.cpp \
|
|
|
|
TestWidgetPeaksPlots.cpp \
|
|
|
|
TestWidgetRGBImages.cpp \
|
|
|
|
TestWidgetBarcharts.cpp \
|
|
|
|
TestWidgetContourPlots.cpp \
|
|
|
|
TestWidgetEmptyPlot.cpp \
|
2015-08-05 20:27:09 +08:00
|
|
|
QTeXEngine/src/QTeXPaintEngine.cpp \
|
|
|
|
QTeXEngine/src/QTeXPaintDevice.cpp
|
2015-07-11 18:56:02 +08:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4) {
|
|
|
|
} else {
|
|
|
|
win32 {
|
|
|
|
SOURCES += jkqtpemfengineadapter.cpp \
|
|
|
|
EmfEngine/src/EmfPaintDevice.cpp \
|
2018-11-18 21:24:29 +08:00
|
|
|
EmfEngine/src/EmfEngine.cpp \
|
2015-07-11 18:56:02 +08:00
|
|
|
|
|
|
|
HEADERS +=EmfEngine/src/EmfEngine.h \
|
|
|
|
jkqtpemfengineadapter.h
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-11-18 21:24:29 +08:00
|
|
|
CONFIG += qt
|
2015-07-11 18:56:02 +08:00
|
|
|
|
|
|
|
#QMAKE_LFLAGS += -s
|
|
|
|
|
|
|
|
win32: LIBS += -lgdi32
|
|
|
|
|
|
|
|
#QMAKE_CXXFLAGS += -O2
|
|
|
|
|
|
|
|
DEFINES -= -DQT_DLL
|
|
|
|
DEFINES +=
|
|
|
|
#SHOW_JKQTPLOTTER_DEBUG
|
|
|
|
#JKQTBP_AUTOTIMER
|
|
|
|
|
|
|
|
TARGET = jkqtplot_test
|
|
|
|
|
|
|
|
QT += core gui svg xml
|
|
|
|
win32:LIBS += -lgdi32
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
#if not added by qmake:
|
|
|
|
DEFINES += QT_XML_LIB
|
|
|
|
|
2018-11-18 21:24:29 +08:00
|
|
|
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
|
2015-07-11 18:56:02 +08:00
|
|
|
|
|
|
|
|
|
|
|
INCLUDEPATH +=
|
|
|
|
|
|
|
|
UI_DIR = .uics
|
|
|
|
OBJECTS_DIR = .objs
|
|
|
|
MOC_DIR = .mocs
|
|
|
|
RCC_DIR = .rccs
|
|
|
|
DESTDIR = ./
|
|
|
|
|
|
|
|
|
2015-08-05 20:27:09 +08:00
|
|
|
RESOURCES += jkqtplot_test.qrc
|