-
Notifications
You must be signed in to change notification settings - Fork 3
/
SmartVP.pro
61 lines (53 loc) · 1.7 KB
/
SmartVP.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
TEMPLATE = app
folder_01.source = qml
folder_01.target = qml
DEPLOYMENTFOLDERS = folder_01
QT += quick qml multimedia widgets
SOURCES += src/main.cpp \
src/helper.cpp \
src/motiondetector.cpp \
src/motiondetectorwrapper.cpp
RESOURCES += \
resources.qrc
target = SmartVP
INSTALLS += target
for(deploymentfolder, DEPLOYMENTFOLDERS) {
item = item$${deploymentfolder}
greaterThan(QT_MAJOR_VERSION, 4) {
itemsources = $${item}.files
} else {
itemsources = $${item}.sources
}
$$itemsources = $$eval($${deploymentfolder}.source)
itempath = $${item}.path
$$itempath= $$eval($${deploymentfolder}.target)
export($$itemsources)
export($$itempath)
DEPLOYMENT += $$item
}
HEADERS += \
src/helper.h \
src/motiondetector.h \
src/motiondetectorwrapper.h \
src/handbag.h
OTHER_FILES += \
resources/About.txt \
resources/TODO.txt \
resources/Issues.txt \
resources/Help.txt \
resources/Colors.txt
linux {
CONFIG(debug, debug|release) {
DESTDIR = $$PWD
LIBS += -L/home/nicktrandafil/Develop/opencv_debug/lib \
-lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d \
-lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann -lopencv_nonfree
} else
{
DESTDIR = $$PWD
LIBS += -L/home/nicktrandafil/Develop/opencv_release/lib \
-lopencv_core -lopencv_imgproc -lopencv_highgui -lopencv_ml -lopencv_video -lopencv_features2d \
-lopencv_calib3d -lopencv_objdetect -lopencv_contrib -lopencv_legacy -lopencv_flann -lopencv_nonfree
}
QMAKE_LFLAGS += -Wl,-rpath=\\\$\$ORIGIN/libs
}