forked from karlphillip/GraphicsProgramming
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcvDisplacementMapFilter.pro
More file actions
64 lines (53 loc) · 1.87 KB
/
cvDisplacementMapFilter.pro
File metadata and controls
64 lines (53 loc) · 1.87 KB
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
63
64
SOURCES += \
main.cpp
# On my system I have to specify g++ as compiler else it will use clang++ by default
#QMAKE_CXX=g++
#QMAKE_CC=gcc
## OpenCV settings for Unix/Linux
unix:!mac {
message("* Using settings for Unix/Linux.")
INCLUDEPATH += /usr/local/include/opencv
LIBS += -L/usr/local/lib/ \
-lopencv_core \
-lopencv_highgui \
-lopencv_imgproc
}
## OpenCV settings for Mac OS X
macx {
message("* Using settings for Mac OS X.")
INCLUDEPATH += /usr/local/include/opencv
LIBS += -L/usr/local/lib/ \
-lopencv_core \
-lopencv_highgui \
-lopencv_imgproc
}
## OpenCV settings for Windows and OpenCV 4.5.0
win32 {
message("* Using settings for Windows.")
INCLUDEPATH += "C:\\opencv\\build\\install\\include" \
"C:\\opencv\\build\\install\\include\\opencv2" \
CONFIG(debug, debug | release) {
LIBS += -L"C:\\opencv\\build\\install\\x64\\vc16\\lib" \
-lopencv_core450d \
-lopencv_highgui450d \
-lopencv_imgproc450d \
-lopencv_imgcodecs450d
# Projects > Build & Run > Run
# Check: add build library search path to PATH
# This allows OpenCV DLLs to be found when running this application
LIBS += -L"C:\\opencv\\build\\install\\x64\\vc16\\bin"
}
CONFIG(release, debug | release) {
LIBS += -L"C:\\opencv\\build\\install\\x64\\vc16\\lib" \
-lopencv_core450 \
-lopencv_highgui450 \
-lopencv_imgproc450 \
-lopencv_imgcodecs450
# Projects > Build & Run > Run
# Check: add build library search path to PATH
# This allows OpenCV DLLs to be found when running this application
LIBS += -L"C:\\opencv\\build\\install\\x64\\vc16\\bin"
}
}
# Runs this app automatically after the building has succeeded
#QMAKE_POST_LINK=./$$TARGET