-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathBioImageOperation.pro
51 lines (35 loc) · 1.2 KB
/
BioImageOperation.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
TARGET = BioImageOperation
TEMPLATE = app
QT += core widgets gui network
include(BioImageOperation/BioImageOperation.pri)
CONFIG += c++17
CONFIG += app_bundle
CONFIG += console
RC_FILE = BioImageOperation/BioImageOperation.rc
RC_ICONS = BioImageOperation/BioImageOperation.ico
macx {
QMAKE_MACOSX_DEPLOYMENT_TARGET = 10.9
QMAKE_CXXFLAGS += -stdlib=libc++
INCLUDEPATH += /usr/local/include
LIBS += -L/usr/local/lib \
-lopencv_core -lopencv_imgproc -lopencv_videoio -lopencv_imgcodecs -lstdc++fs
QMAKE_CXXFLAGS_WARN_ON = -Wno-unused-variable -Wno-reorder
}
unix {
QMAKE_CXXFLAGS += -std=c++17
#INCLUDEPATH += /usr/local/include/opencv4 # if cmake compiled opencv
INCLUDEPATH += /usr/include/opencv4
LIBS += -L/usr/lib \
-L/usr/lib/x86_64-linux-gnu \
-lopencv_core -lopencv_imgproc -lopencv_videoio -lopencv_imgcodecs -lstdc++fs
QMAKE_CXXFLAGS_WARN_ON = -Wno-unused-variable -Wno-reorder
}
win32 {
INCLUDEPATH += C:/opencv/build/include
CONFIG(debug,debug|release){
LIBS += C:/opencv/build/x64/vc16/lib/opencv_world490d.lib
}
CONFIG(release,debug|release){
LIBS += C:/opencv/build/x64/vc16/lib/opencv_world490.lib
}
}