-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathQVideoStream.pro
More file actions
39 lines (32 loc) · 806 Bytes
/
QVideoStream.pro
File metadata and controls
39 lines (32 loc) · 806 Bytes
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
QT += quick
CONFIG += c++11
QT += qml
QT += network
QT += quickcontrols2
QT += widgets
QT += core gui
QT += multimedia
TEMPLATE = lib # app
CONFIG += c++17
SOURCES += \
main.cpp \
videorendereritem.cpp \
videodecoder.cpp
HEADERS += \
videorendereritem.h \
videodecoder.h
RESOURCES += qml.qrc
INCLUDEPATH += /usr/include \
/usr/local/include
win32{
INCLUDEPATH += $$PWD/ffmpeg/include
LIBS += $$PWD/ffmpeg/lib/avcodec.lib \
$$PWD/ffmpeg/lib/avdevice.lib \
$$PWD/ffmpeg/lib/avfilter.lib \
$$PWD/ffmpeg/lib/avformat.lib \
$$PWD/ffmpeg/lib/avutil.lib \
$$PWD/ffmpeg/lib/postproc.lib \
$$PWD/ffmpeg/lib/swresample.lib \
$$PWD/ffmpeg/lib/swscale.lib
message($$PWD/ffmpeg/lib)
}