-
Notifications
You must be signed in to change notification settings - Fork 0
/
ImageSegmentation.pro
executable file
·62 lines (52 loc) · 1.56 KB
/
ImageSegmentation.pro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
#-------------------------------------------------
#
# Project created by QtCreator 2013-01-07T10:10:20
#
#-------------------------------------------------
QT += core gui
TARGET = ImageSegmentation
TEMPLATE = app
SOURCES += main.cpp\
mainwindow.cpp \
colorhistogram.cpp
HEADERS += mainwindow.h \
colorhistogram.h
FORMS += mainwindow.ui
## SET THE CORRECT PATH HEREAFTER ##
#OpenCV header files location (if you followed the tutorial, the include folder should be in ../build_with_Qt/release/include and ../build_with_Qt/debug/include)
INCLUDEPATH += /opencv/build_with_Qt/include \
#two configuration: release and debug
CONFIG(release, debug|release){
LIBS += -L/opencv/build_with_Qt/release/lib \
#if library name is lib[name].lib, you should write -l[name]
-lopencv_core243 \
-lopencv_highgui243 \
-lopencv_imgproc243 \
-lopencv_features2d243 \
-lopencv_calib3d243 \
-lopencv_contrib243 \
-lopencv_flann243 \
-lopencv_gpu243 \
-lopencv_legacy243 \
-lopencv_ml243 \
-lopencv_objdetect243 \
-lopencv_ts243 \
-lopencv_video243
}
CONFIG(debug, debug|release){
LIBS += -L/opencv/build_with_Qt/debug/lib \
#if library name is lib[name].lib, you should write -l[name]
-lopencv_core243d \
-lopencv_highgui243d \
-lopencv_imgproc243d \
-lopencv_features2d243d \
-lopencv_calib3d243d \
-lopencv_contrib243d \
-lopencv_flann243d \
-lopencv_gpu243d \
-lopencv_legacy243d \
-lopencv_ml243d \
-lopencv_objdetect243d \
-lopencv_ts243d \
-lopencv_video243d
}