2018-11-27 05:14:41 +08:00
|
|
|
# source code for this simple demo
|
|
|
|
SOURCES = jkqtplotter_simpletest_imageplot_opencv.cpp
|
|
|
|
|
|
|
|
# configure Qt
|
|
|
|
CONFIG += qt
|
2018-12-02 21:08:43 +08:00
|
|
|
QT += core gui xml svg
|
2018-11-27 05:14:41 +08:00
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets printsupport
|
|
|
|
|
|
|
|
# output executable name
|
|
|
|
TARGET = jkqtplotter_simpletest_imageplot_opencv
|
|
|
|
|
2018-12-02 21:08:43 +08:00
|
|
|
# add OpenCV-interface to JKQTPdatastore
|
|
|
|
DEFINES += JKQTPLOTTER_OPENCV_INTERFACE
|
|
|
|
|
2018-11-27 05:14:41 +08:00
|
|
|
# include JKQtPlotter source code
|
|
|
|
include(../../lib/jkqtplotter.pri)
|
2018-12-02 21:08:43 +08:00
|
|
|
|
|
|
|
|
2018-11-27 05:14:41 +08:00
|
|
|
# here you can activate some debug options
|
|
|
|
#DEFINES += SHOW_JKQTPLOTTER_DEBUG
|
|
|
|
#DEFINES += JKQTBP_AUTOTIMER
|
|
|
|
|
|
|
|
|
|
|
|
# link agains OpenCV-3.4.1
|
|
|
|
INCLUDEPATH += $$PWD/OpenCV-3.4.1/include/
|
|
|
|
LIBS += -L$$PWD/OpenCV-3.4.1/bin/ -llibopencv_core341
|