-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathleonplayer.pro
93 lines (81 loc) · 1.74 KB
/
leonplayer.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
# ----------------------------------------------------
# This file is generated by the Qt Visual Studio Tools.
# ------------------------------------------------------
TEMPLATE = app
TARGET = LeonPlayer
DESTDIR = bin
QT += core gui widgets
#CONFIG += debug
#DEFINES += _UNICODE WIN64 QT_WIDGETS_LIB
win32 {
LIBS += -L$$PWD/lib/SDL2/lib/x64 \
-L$$PWD/lib/ffmpeg-6.0.0/lib \
-lSDL2 \
-lavcodec \
-lavdevice \
-lavfilter \
-lavformat \
-lavutil \
-lswresample \
-lswscale
INCLUDEPATH += src \
lib/SDL2/include \
lib/ffmpeg-6.0.0/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
}
mac {
}
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 \
src/sonic.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 \
src/sonic.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