-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.pro.win.sample
50 lines (41 loc) · 1.63 KB
/
custom.pro.win.sample
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
#-------------------------------------------------
#
# Customized file that is ignored by GitHub
# Ideal place for including libraries with absolute paths which will vary between user
#
#-------------------------------------------------
# Include NIFTI files and link dynamic libraries
INCLUDEPATH += '<PATH-TO-LIBNIFTI>/include'
DEPENDPATH += '<PATH-TO-LIBNIFTI>/include'
CONFIG(debug, debug|release): LIBS += -L<PATH-TO-LIBNIFTI>/lib \
-llibNIFTId
CONFIG(release, debug|release): LIBS += -L<PATH-TO-LIBNIFTI>/lib \
-llibNIFTI
# Include ZLIB files and link dynamic libraries
# (This is used in NIFTI library)
LIBS += -L<PATH-TO-ZLIB>/lib \
-lzlib
# Include OpenCV files and link dynamic libraries
# Separate libraries must be used for debug and release mode as this caused a weird issue
# when Release/Debug was mismatched with libraries.
INCLUDEPATH += '<PATH-TO-OPENCV>/include'
DEPENDPATH += '<PATH-TO-OPENCV>/include'
CONFIG(debug, debug|release): LIBS += -L<PATH-TO-OPENCV>/lib/Debug \
-lopencv_core310d \
-lopencv_imgproc310d \
-lopencv_highgui310d \
-lopencv_ml310d \
-lopencv_video310d
CONFIG(release, debug|release): LIBS += -L<PATH-TO-OPENCV>/lib/Release \
-lopencv_core310 \
-lopencv_imgproc310 \
-lopencv_highgui310 \
-lopencv_ml310 \
-lopencv_video310
# Include QuaZip files for handling Zip files
INCLUDEPATH += '<PATH-TO_QUAZIP>/include'
DEPENDPATH += '<PATH-TO_QUAZIP>/include'
CONFIG(debug, debug|release): LIBS += -L<PATH-TO_QUAZIP>/lib \
-lquazipd
CONFIG(release, debug|release): LIBS += -L<PATH-TO_QUAZIP>/lib \
-lquazip