2019-02-10 05:17:01 +08:00
|
|
|
# source code for this simple demo
|
|
|
|
SOURCES = jkqtplotter_simpletest_rgbimageplot.cpp
|
|
|
|
|
|
|
|
# configure Qt
|
|
|
|
CONFIG += link_prl qt
|
|
|
|
QT += core gui xml svg
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
# output executable name
|
|
|
|
TARGET = jkqtplotter_simpletest_rgbimageplot
|
|
|
|
|
|
|
|
# include JKQTPlotter source code
|
|
|
|
DEPENDPATH += ../../lib ../../staticlib/jkqtplotterlib
|
|
|
|
INCLUDEPATH += ../../lib
|
|
|
|
CONFIG (debug, debug|release) {
|
|
|
|
LIBS += -L../../staticlib/jkqtplotterlib/debug -ljkqtplotterlib_debug
|
|
|
|
} else {
|
|
|
|
LIBS += -L../../staticlib/jkqtplotterlib/release -ljkqtplotterlib
|
|
|
|
}
|
|
|
|
message("LIBS = $$LIBS")
|
|
|
|
|
2019-05-30 17:19:56 +08:00
|
|
|
win32-msvc*: DEFINES += _USE_MATH_DEFINES
|
|
|
|
win32-msvc*: DEFINES += NOMINMAX
|
2019-02-10 05:17:01 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|