-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathmrecorder.pro
92 lines (72 loc) · 2.12 KB
/
mrecorder.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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
TEMPLATE = app
TARGET = mrecorder
# Choose one of the following:
CONFIG += debug
# CONFIG += release
CONFIG(release, debug|release):DEFINES += QT_NO_DEBUG_OUTPUT
CONFIG(release, debug|release):message(Release build)
CONFIG(debug, debug|release):message(Debug build)
ICON = mrecorder.icns
message(Qt version: $$[QT_VERSION] (>= 5.4 recommended))
message(Qt is installed in $$[QT_INSTALL_PREFIX])
macx {
message(Platform: Mac OS X)
OPENCVDIR = /opt/local
INCLUDEPATH += $$OPENCVDIR/include
LIBS += -L$$OPENCVDIR/lib
LIBS += -lopencv_core -lopencv_highgui -lopencv_imgproc -lopencv_videoio -lssh2
#LIBS += $$OPENCVDIR/lib/libopencv_core.dylib
#LIBS += $$OPENCVDIR/lib/libopencv_highgui.dylib
#LIBS += $$OPENCVDIR/lib/libopencv_imgproc.dylib
#LIBS += $$OPENCVDIR/lib/libssh2.dylib
}
linux-g++* {
message(Platform: Linux)
#OPENCVDIR = /home/jmakoske/src/opencv249
#
#INCLUDEPATH += $$OPENCVDIR/include
#LIBS += $$OPENCVDIR/lib/libopencv_core.so
#LIBS += $$OPENCVDIR/lib/libopencv_highgui.so
#LIBS += $$OPENCVDIR/lib/libopencv_imgproc.so
#LIBS += /usr/lib/x86_64-linux-gnu/libssh2.so.1
LIBS += -lopencv_core -lopencv_highgui -lopencv_imgproc -lssh2
}
win32 {
message(Platform: Win32)
OPENCVDIR = C:\Users\localadmin_jmakoske\opencv\build
BOOSTDIR = C:\Users\localadmin_jmakoske\boost_1_58_0
INCLUDEPATH += $$OPENCVDIR\include
INCLUDEPATH += $$BOOSTDIR
LIBS += -L$$OPENCVDIR\x86\mingw\bin
LIBS += -lopencv_core2411 -lopencv_highgui2411 -lopencv_imgproc2411
}
QT += multimedia
QT += widgets
HEADERS = \
avrecorder.h \
qaudiolevel.h \
camerathread.h
!win32 {
HEADERS += \
uploadwidget.h \
uploadthread.h
}
SOURCES = \
main.cpp \
avrecorder.cpp \
qaudiolevel.cpp \
camerathread.cpp
!win32 {
SOURCES += \
uploadwidget.cpp \
uploadthread.cpp
}
FORMS += avrecorder.ui
#target.path = /Users/jmakoske/bin/mrecorder
#INSTALLS += target
#EVERYTHING = $$SOURCES $$HEADERS
#message("The project contains the following files:")
#message($$EVERYTHING)
# Local Variables:
# mode: conf
# End: