-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathVideoPlayer.pro
41 lines (31 loc) · 1.22 KB
/
VideoPlayer.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
QT += quick multimedia
CONFIG += c++11
# 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
RESOURCES += $$_PRO_FILE_PWD_/qml/qml.qrc \
resource/res.qrc \
shaders/shaders.qrc
TRANSLATIONS += \
VideoPlayer_zh_CN.ts
include($$_PRO_FILE_PWD_/src/src.pri)
# Additional import path used to resolve QML modules in Qt Creator's code model
QML_IMPORT_PATH =
# Additional import path used to resolve QML modules just for Qt Quick Designer
QML_DESIGNER_IMPORT_PATH =
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
win32 {
# FFmpeg
LIBS += -L$$(FFMPEG_PATH)/lib/ -lavutil -lavcodec -lavformat -lavfilter -lswresample -lswscale
INCLUDEPATH += $$(FFMPEG_PATH)/include
DEPENDPATH += $$(FFMPEG_PATH)/include
}
unix {
# FFmpeg
LIBS += -L/usr/lib64/ -lavutil -lavcodec -lavformat -lavfilter -lswresample -lswscale
INCLUDEPATH += /usr/include/ffmpeg
DEPENDPATH += /usr/include/ffmpeg
}