-
Notifications
You must be signed in to change notification settings - Fork 1
/
VlcMediaPlayer.pro
82 lines (64 loc) · 2.47 KB
/
VlcMediaPlayer.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
QT += core gui openglwidgets
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
lessThan(QT_MAJOR_VERSION, 6): QMAKE_CXXFLAGS += -execution-charset:utf-8
# make the application have authority of running on Ubuntu, and I do not know why it works
unix: QMAKE_LFLAGS += -no-pie
# Qt 5.14 VERSION can only contains numbers, no any others type of character please
# please do not put 0 before any version number, because this will cause a warnning on Qt 5.14
VERSION = 23.10.27.1642 # major.minor.patch.build
QMAKE_TARGET_COPYRIGHT = Mtr1994 User Co., Ltd
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
# 禁用 QDebug 输出调试i信息
#DEFINES += QT_NO_DEBUG_OUTPUT
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
INCLUDEPATH += $$PWD/Sdk/vlc/include
SOURCES += \
Configure/softconfig.cpp \
Control/Drawer/widgetdrawer.cpp \
Control/Message/messagewidget.cpp \
Dialog/dialogversion.cpp \
Player/playereventcallbacks.cpp \
Player/widgetplayer.cpp \
Public/appsignal.cpp \
Widget/widgetmediacontrol.cpp \
Widget/widgetmediapathlist.cpp \
Widget/widgetslider.cpp \
main.cpp \
mainwindow.cpp
HEADERS += \
Configure/softconfig.h \
Control/Drawer/widgetdrawer.h \
Control/Message/messagewidget.h \
Dialog/dialogversion.h \
Player/playereventcallbacks.h \
Player/widgetplayer.h \
Public/appsignal.h \
Widget/widgetmediacontrol.h \
Widget/widgetmediapathlist.h \
Widget/widgetslider.h \
mainwindow.h
FORMS += \
Dialog/dialogversion.ui \
Widget/widgetmediacontrol.ui \
Widget/widgetmediapathlist.ui \
mainwindow.ui
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RC_ICONS = ./Resource/icon/icon.ico
RESOURCES += \
res.qrc
#0x0800代表和系统当前语言一致
RC_LANG = 0x0800
LIBS += -L$$PWD/Sdk/vlc/lib \
-llibvlccore \
-llibvlc