-
Notifications
You must be signed in to change notification settings - Fork 3
/
CamGrab.pro
50 lines (38 loc) · 1.52 KB
/
CamGrab.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
QT += core gui multimedia multimediawidgets
QT += opengl
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
TARGET = CamGrab
TEMPLATE = app
DEFINES += QT_DEPRECATED_WARNINGS
INCLUDEPATH += /usr/local/include/
# pkg-config --libs opencv
LIBS += -L/usr/local/lib -lopencv_cudabgsegm -lopencv_cudaobjdetect -lopencv_cudastereo -lopencv_dnn -lopencv_ml -lopencv_shape -lopencv_stitching -lopencv_cudafeatures2d -lopencv_superres -lopencv_cudacodec -lopencv_videostab -lopencv_cudaoptflow -lopencv_cudalegacy -lopencv_calib3d -lopencv_features2d -lopencv_highgui -lopencv_videoio -lopencv_photo -lopencv_imgcodecs -lopencv_cudawarping -lopencv_cudaimgproc -lopencv_cudafilters -lopencv_video -lopencv_objdetect -lopencv_imgproc -lopencv_flann -lopencv_cudaarithm -lopencv_core -lopencv_cudev
SOURCES += \
main.cpp \
mainwindow.cpp \
console.cpp \
cameramanager.cpp \
dataawarecombobox.cpp \
glvideosurface.cpp \
glvideowidget.cpp \
filters/abstractfilter.cpp \
filters/facedetectfilter.cpp \
filters/grayscalefilter.cpp
HEADERS += \
mainwindow.h \
console.h \
cameramanager.h \
dataawarecombobox.h \
glvideosurface.h \
glvideowidget.h \
filters/abstractfilter.h \
filters/facedetectfilter.h \
filters/grayscalefilter.h
FORMS += \
mainwindow.ui
DISTFILES +=
RESOURCES += \
resources.qrc
linux {
QMAKE_PRE_LINK += rm -rf $${OUT_PWD}/haarcascades_cuda && mkdir $${OUT_PWD}/haarcascades_cuda && cp -r $${PWD}/haarcascades_cuda/*.xml $${OUT_PWD}/haarcascades_cuda
}