-
Notifications
You must be signed in to change notification settings - Fork 0
/
FFmyPlayer.pro
316 lines (299 loc) · 11.8 KB
/
FFmyPlayer.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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
TRANSLATIONS += chinese.ts \
english.ts
CODECFORTR = UTF-8
TARGET = FFmyPlayer
INCLUDEPATH += $$PWD/third/ffmpeg/include \
$$PWD/third/SDL2/include \
$$PWD/third/boost/include \
$$PWD/include \
$$PWD/test
DESTDIR += $$PWD/bin
win32
{
LIBS += -L$$PWD/third/ffmpeg/lib \
-lavcodec \
-lavdevice \
-lavfilter \
-lavformat \
-lavutil \
-lswresample \
-lswscale \
-L$$PWD/third/SDL2/lib/x64 \
-lSDL2 \
-L$$PWD/third/boost/lib/ \
-llibboost_system \
-llibboost_filesystem
}
unix {
LIBS += \
-lSDL2 \
-lavcodec \
-lavdevice \
-lavfilter \
-lavformat \
-lavutil \
-lswresample \
-lswscale \
-lSDL2 \
-lboost_system \
-lboost_filesystem
}
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
src/Common.cpp \
src/MainWindow.cpp \
src/main.cpp \
src/playerCtlButtons.cpp \
src/playerCtlSlider.cpp \
src/playerCtlWidget.cpp \
src/playerDisplay.cpp \
src/playerList.cpp \
src/playerListBar.cpp \
src/playerListCtlButtons.cpp \
src/playerListWidget.cpp \
src/playerManager.cpp \
src/playerWidget.cpp \
src/playingInfo.cpp \
src/title_bar.cpp
HEADERS += \
include/Common.h \
include/MainWindow.h \
include/StyleSheet.h \
include/configurationFile.h \
include/dataStruct.h \
include/playerCtlButtons.h \
include/playerCtlSlider.h \
include/playerCtlWidget.h \
include/playerDisplay.h \
include/playerList.h \
include/playerListBar.h \
include/playerListCtlButtons.h \
include/playerListWidget.h \
include/playerManager.h \
include/playerWidget.h \
include/playingInfo.h \
include/title_bar.h \
third/SDL2/include/SDL.h \
third/SDL2/include/SDL_assert.h \
third/SDL2/include/SDL_atomic.h \
third/SDL2/include/SDL_audio.h \
third/SDL2/include/SDL_bits.h \
third/SDL2/include/SDL_blendmode.h \
third/SDL2/include/SDL_clipboard.h \
third/SDL2/include/SDL_config.h \
third/SDL2/include/SDL_cpuinfo.h \
third/SDL2/include/SDL_egl.h \
third/SDL2/include/SDL_endian.h \
third/SDL2/include/SDL_error.h \
third/SDL2/include/SDL_events.h \
third/SDL2/include/SDL_filesystem.h \
third/SDL2/include/SDL_gamecontroller.h \
third/SDL2/include/SDL_gesture.h \
third/SDL2/include/SDL_guid.h \
third/SDL2/include/SDL_haptic.h \
third/SDL2/include/SDL_hidapi.h \
third/SDL2/include/SDL_hints.h \
third/SDL2/include/SDL_joystick.h \
third/SDL2/include/SDL_keyboard.h \
third/SDL2/include/SDL_keycode.h \
third/SDL2/include/SDL_loadso.h \
third/SDL2/include/SDL_locale.h \
third/SDL2/include/SDL_log.h \
third/SDL2/include/SDL_main.h \
third/SDL2/include/SDL_messagebox.h \
third/SDL2/include/SDL_metal.h \
third/SDL2/include/SDL_misc.h \
third/SDL2/include/SDL_mouse.h \
third/SDL2/include/SDL_mutex.h \
third/SDL2/include/SDL_name.h \
third/SDL2/include/SDL_opengl.h \
third/SDL2/include/SDL_opengl_glext.h \
third/SDL2/include/SDL_opengles.h \
third/SDL2/include/SDL_opengles2.h \
third/SDL2/include/SDL_opengles2_gl2.h \
third/SDL2/include/SDL_opengles2_gl2ext.h \
third/SDL2/include/SDL_opengles2_gl2platform.h \
third/SDL2/include/SDL_opengles2_khrplatform.h \
third/SDL2/include/SDL_pixels.h \
third/SDL2/include/SDL_platform.h \
third/SDL2/include/SDL_power.h \
third/SDL2/include/SDL_quit.h \
third/SDL2/include/SDL_rect.h \
third/SDL2/include/SDL_render.h \
third/SDL2/include/SDL_revision.h \
third/SDL2/include/SDL_rwops.h \
third/SDL2/include/SDL_scancode.h \
third/SDL2/include/SDL_sensor.h \
third/SDL2/include/SDL_shape.h \
third/SDL2/include/SDL_stdinc.h \
third/SDL2/include/SDL_surface.h \
third/SDL2/include/SDL_system.h \
third/SDL2/include/SDL_syswm.h \
third/SDL2/include/SDL_test.h \
third/SDL2/include/SDL_test_assert.h \
third/SDL2/include/SDL_test_common.h \
third/SDL2/include/SDL_test_compare.h \
third/SDL2/include/SDL_test_crc32.h \
third/SDL2/include/SDL_test_font.h \
third/SDL2/include/SDL_test_fuzzer.h \
third/SDL2/include/SDL_test_harness.h \
third/SDL2/include/SDL_test_images.h \
third/SDL2/include/SDL_test_log.h \
third/SDL2/include/SDL_test_md5.h \
third/SDL2/include/SDL_test_memory.h \
third/SDL2/include/SDL_test_random.h \
third/SDL2/include/SDL_thread.h \
third/SDL2/include/SDL_timer.h \
third/SDL2/include/SDL_touch.h \
third/SDL2/include/SDL_types.h \
third/SDL2/include/SDL_version.h \
third/SDL2/include/SDL_video.h \
third/SDL2/include/SDL_vulkan.h \
third/SDL2/include/begin_code.h \
third/SDL2/include/close_code.h \
third/boost/include/boost/property_tree/ini_parser.hpp \
third/boost/include/boost/property_tree/ptree.hpp \
third/ffmpeg/include/libavcodec/ac3_parser.h \
third/ffmpeg/include/libavcodec/adts_parser.h \
third/ffmpeg/include/libavcodec/avcodec.h \
third/ffmpeg/include/libavcodec/avdct.h \
third/ffmpeg/include/libavcodec/avfft.h \
third/ffmpeg/include/libavcodec/bsf.h \
third/ffmpeg/include/libavcodec/codec.h \
third/ffmpeg/include/libavcodec/codec_desc.h \
third/ffmpeg/include/libavcodec/codec_id.h \
third/ffmpeg/include/libavcodec/codec_par.h \
third/ffmpeg/include/libavcodec/d3d11va.h \
third/ffmpeg/include/libavcodec/defs.h \
third/ffmpeg/include/libavcodec/dirac.h \
third/ffmpeg/include/libavcodec/dv_profile.h \
third/ffmpeg/include/libavcodec/dxva2.h \
third/ffmpeg/include/libavcodec/jni.h \
third/ffmpeg/include/libavcodec/mediacodec.h \
third/ffmpeg/include/libavcodec/packet.h \
third/ffmpeg/include/libavcodec/qsv.h \
third/ffmpeg/include/libavcodec/vdpau.h \
third/ffmpeg/include/libavcodec/version.h \
third/ffmpeg/include/libavcodec/version_major.h \
third/ffmpeg/include/libavcodec/videotoolbox.h \
third/ffmpeg/include/libavcodec/vorbis_parser.h \
third/ffmpeg/include/libavcodec/xvmc.h \
third/ffmpeg/include/libavdevice/avdevice.h \
third/ffmpeg/include/libavdevice/version.h \
third/ffmpeg/include/libavdevice/version_major.h \
third/ffmpeg/include/libavfilter/avfilter.h \
third/ffmpeg/include/libavfilter/buffersink.h \
third/ffmpeg/include/libavfilter/buffersrc.h \
third/ffmpeg/include/libavfilter/version.h \
third/ffmpeg/include/libavfilter/version_major.h \
third/ffmpeg/include/libavformat/avformat.h \
third/ffmpeg/include/libavformat/avio.h \
third/ffmpeg/include/libavformat/version.h \
third/ffmpeg/include/libavformat/version_major.h \
third/ffmpeg/include/libavutil/adler32.h \
third/ffmpeg/include/libavutil/aes.h \
third/ffmpeg/include/libavutil/aes_ctr.h \
third/ffmpeg/include/libavutil/ambient_viewing_environment.h \
third/ffmpeg/include/libavutil/attributes.h \
third/ffmpeg/include/libavutil/audio_fifo.h \
third/ffmpeg/include/libavutil/avassert.h \
third/ffmpeg/include/libavutil/avconfig.h \
third/ffmpeg/include/libavutil/avstring.h \
third/ffmpeg/include/libavutil/avutil.h \
third/ffmpeg/include/libavutil/base64.h \
third/ffmpeg/include/libavutil/blowfish.h \
third/ffmpeg/include/libavutil/bprint.h \
third/ffmpeg/include/libavutil/bswap.h \
third/ffmpeg/include/libavutil/buffer.h \
third/ffmpeg/include/libavutil/camellia.h \
third/ffmpeg/include/libavutil/cast5.h \
third/ffmpeg/include/libavutil/channel_layout.h \
third/ffmpeg/include/libavutil/common.h \
third/ffmpeg/include/libavutil/cpu.h \
third/ffmpeg/include/libavutil/crc.h \
third/ffmpeg/include/libavutil/csp.h \
third/ffmpeg/include/libavutil/des.h \
third/ffmpeg/include/libavutil/detection_bbox.h \
third/ffmpeg/include/libavutil/dict.h \
third/ffmpeg/include/libavutil/display.h \
third/ffmpeg/include/libavutil/dovi_meta.h \
third/ffmpeg/include/libavutil/downmix_info.h \
third/ffmpeg/include/libavutil/encryption_info.h \
third/ffmpeg/include/libavutil/error.h \
third/ffmpeg/include/libavutil/eval.h \
third/ffmpeg/include/libavutil/ffversion.h \
third/ffmpeg/include/libavutil/fifo.h \
third/ffmpeg/include/libavutil/file.h \
third/ffmpeg/include/libavutil/film_grain_params.h \
third/ffmpeg/include/libavutil/frame.h \
third/ffmpeg/include/libavutil/hash.h \
third/ffmpeg/include/libavutil/hdr_dynamic_metadata.h \
third/ffmpeg/include/libavutil/hdr_dynamic_vivid_metadata.h \
third/ffmpeg/include/libavutil/hmac.h \
third/ffmpeg/include/libavutil/hwcontext.h \
third/ffmpeg/include/libavutil/hwcontext_cuda.h \
third/ffmpeg/include/libavutil/hwcontext_d3d11va.h \
third/ffmpeg/include/libavutil/hwcontext_drm.h \
third/ffmpeg/include/libavutil/hwcontext_dxva2.h \
third/ffmpeg/include/libavutil/hwcontext_mediacodec.h \
third/ffmpeg/include/libavutil/hwcontext_opencl.h \
third/ffmpeg/include/libavutil/hwcontext_qsv.h \
third/ffmpeg/include/libavutil/hwcontext_vaapi.h \
third/ffmpeg/include/libavutil/hwcontext_vdpau.h \
third/ffmpeg/include/libavutil/hwcontext_videotoolbox.h \
third/ffmpeg/include/libavutil/hwcontext_vulkan.h \
third/ffmpeg/include/libavutil/imgutils.h \
third/ffmpeg/include/libavutil/intfloat.h \
third/ffmpeg/include/libavutil/intreadwrite.h \
third/ffmpeg/include/libavutil/lfg.h \
third/ffmpeg/include/libavutil/log.h \
third/ffmpeg/include/libavutil/lzo.h \
third/ffmpeg/include/libavutil/macros.h \
third/ffmpeg/include/libavutil/mastering_display_metadata.h \
third/ffmpeg/include/libavutil/mathematics.h \
third/ffmpeg/include/libavutil/md5.h \
third/ffmpeg/include/libavutil/mem.h \
third/ffmpeg/include/libavutil/motion_vector.h \
third/ffmpeg/include/libavutil/murmur3.h \
third/ffmpeg/include/libavutil/opt.h \
third/ffmpeg/include/libavutil/parseutils.h \
third/ffmpeg/include/libavutil/pixdesc.h \
third/ffmpeg/include/libavutil/pixelutils.h \
third/ffmpeg/include/libavutil/pixfmt.h \
third/ffmpeg/include/libavutil/random_seed.h \
third/ffmpeg/include/libavutil/rational.h \
third/ffmpeg/include/libavutil/rc4.h \
third/ffmpeg/include/libavutil/replaygain.h \
third/ffmpeg/include/libavutil/ripemd.h \
third/ffmpeg/include/libavutil/samplefmt.h \
third/ffmpeg/include/libavutil/sha.h \
third/ffmpeg/include/libavutil/sha512.h \
third/ffmpeg/include/libavutil/spherical.h \
third/ffmpeg/include/libavutil/stereo3d.h \
third/ffmpeg/include/libavutil/tea.h \
third/ffmpeg/include/libavutil/threadmessage.h \
third/ffmpeg/include/libavutil/time.h \
third/ffmpeg/include/libavutil/timecode.h \
third/ffmpeg/include/libavutil/timestamp.h \
third/ffmpeg/include/libavutil/tree.h \
third/ffmpeg/include/libavutil/twofish.h \
third/ffmpeg/include/libavutil/tx.h \
third/ffmpeg/include/libavutil/uuid.h \
third/ffmpeg/include/libavutil/version.h \
third/ffmpeg/include/libavutil/video_enc_params.h \
third/ffmpeg/include/libavutil/xtea.h \
third/ffmpeg/include/libpostproc/postprocess.h \
third/ffmpeg/include/libpostproc/version.h \
third/ffmpeg/include/libpostproc/version_major.h \
third/ffmpeg/include/libswresample/swresample.h \
third/ffmpeg/include/libswresample/version.h \
third/ffmpeg/include/libswresample/version_major.h \
third/ffmpeg/include/libswscale/swscale.h \
third/ffmpeg/include/libswscale/version.h \
third/ffmpeg/include/libswscale/version_major.h
FORMS +=