2018-12-29 00:46:47 +08:00
|
|
|
# source code for this simple demo
|
|
|
|
SOURCES = jkqtplotter_simpletest_imageplot_opencv.cpp
|
|
|
|
|
|
|
|
# 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
|
|
|
|
|
|
|
|
# output executable name
|
|
|
|
TARGET = jkqtplotter_simpletest_imageplot_opencv
|
|
|
|
|
2019-01-20 17:49:29 +08:00
|
|
|
# add OpenCV-interface to JKQTPDatastore
|
2018-12-29 00:46:47 +08:00
|
|
|
DEFINES += JKQTPLOTTER_OPENCV_INTERFACE
|
|
|
|
|
|
|
|
|
|
|
|
|
2019-02-08 00:24:46 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
2018-12-29 00:46:47 +08:00
|
|
|
|
|
|
|
|
|
|
|
# link agains OpenCV-3.4.1
|
|
|
|
INCLUDEPATH += $$PWD/OpenCV-3.4.1/include/
|
|
|
|
LIBS += -L$$PWD/OpenCV-3.4.1/bin/ -llibopencv_core341
|
|
|
|
|
|
|
|
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")
|