-
Notifications
You must be signed in to change notification settings - Fork 276
/
playerdemo.pro
94 lines (83 loc) · 1.98 KB
/
playerdemo.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
93
94
# ----------------------------------------------------
# This file is generated by the Qt Visual Studio Tools.
# ------------------------------------------------------
TEMPLATE = app
TARGET = playerdemo
DESTDIR = bin
QT += core gui widgets
#CONFIG += debug
#DEFINES += _UNICODE WIN64 QT_WIDGETS_LIB
INCLUDEPATH += src
win32 {
LIBS += -L$$PWD/lib/SDL2 \
-L$$PWD/lib/ffmpeg/lib \
-lSDL2 \
-lavcodec \
-lavdevice \
-lavfilter \
-lavformat \
-lavutil \
-lswresample \
-lswscale
INCLUDEPATH += lib \
lib/ffmpeg/include
}
###cmd install lib
#sudo apt-get install ffmpeg
#sudo apt-get install libavformat-dev
#sudo apt-get install libavutil-dev
#sudo apt-get install libavcodec-dev
#sudo apt-get install libswscale-dev
#sudo apt-get install libsdl2-dev
###
unix {
LIBS += \
-lSDL2 \
-lavcodec \
-lavdevice \
-lavfilter \
-lavformat \
-lavutil \
-lswresample \
-lswscale
}
macx {
INCLUDEPATH += /usr/local/Cellar/sdl2/2.24.1/include
LIBS += -L/usr/local/Cellar/sdl2/2.24.1/lib -lSDL2
INCLUDEPATH += /usr/local/Cellar/[email protected]/5.1.1_1/include
LIBS += -L/usr/local/Cellar/[email protected]/5.1.1_1/lib -lavcodec -lavdevice -lavfilter -lavformat -lavutil -lswresample -lswscale
}
HEADERS += src/customthread.h \
src/datactl.h \
src/globalhelper.h \
src/settingwid.h \
src/about.h \
src/CustomSlider.h \
src/videoctl.h \
src/mainwid.h \
src/medialist.h \
src/title.h \
src/playlist.h \
src/show.h \
src/ctrlbar.h
SOURCES += src/main.cpp \
src/about.cpp \
src/CustomSlider.cpp \
src/customthread.cpp \
src/globalhelper.cpp \
src/settingwid.cpp \
src/videoctl.cpp \
src/ctrlbar.cpp \
src/mainwid.cpp \
src/medialist.cpp \
src/playlist.cpp \
src/show.cpp \
src/title.cpp
FORMS += src/mainwid.ui \
src/ctrlbar.ui \
src/show.ui \
src/playlist.ui \
src/title.ui \
src/about.ui \
src/settingwid.ui
RESOURCES += src/mainwid.qrc