-
Notifications
You must be signed in to change notification settings - Fork 0
/
html5Player.pro
87 lines (64 loc) · 1.96 KB
/
html5Player.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
TEMPLATE = lib
CONFIG += plugin
QT += widgets core gui network
#DEFINES += USE_WEBKIT
#DEFINES += USE_WEBENGINE
DEFINES += USE_CEF
QMAKE_LFLAGS_RELEASE += /SAFESEH:NO /DEBUG
QMAKE_LFLAGS_DEBUG += /SAFESEH:NO
DESTDIR = ../../players/
UI_DIR = temp/ui
MOC_DIR = temp/moc
RCC_DIR = temp/rcc
INCLUDEPATH += ../../../fileOperator/include ../../include ../../../common/include ./src
LIBS += -L../../../fileOperator/lib
win32:CONFIG(release, debug|release) {
TARGET = html5Player
OBJECTS_DIR = temp/release
LIBS += -lfileOperator
LIBS += ./lib/release_x86/QCefView.lib
}
else:win32:CONFIG(debug, debug|release) {
OBJECTS_DIR = temp/debug
TARGET = html5Playerd
LIBS += -lfileOperatord
LIBS += ./lib/debug_x86/QCefView.lib
}
SOURCES += src/TWebViewRender.cpp \
src/TPlayerManager.cpp \
src/THtml5Player.cpp \
src/TWebView.cpp \
src/TTcpTransfer.cpp \
src/TZipServer.cpp \
src/TContextMenu.cpp \
HEADERS += ../../include/playitem.h \
src/TWebViewRender.h \
src/TPlayerManager.h \
src/THtml5Player.h \
src/TWebView.h \
src/TTcpTransfer.h \
src/TZipServer.h \
src/TContextMenu.h \
contains(DEFINES,USE_WEBKIT){
QT += webkitwidgets
SOURCES += src/webkit/TWebKitView.cpp \
src/webkit/TWebMediaPlugin.cpp \
HEADERS += src/webkit/TWebKitView.h \
src/webkit/TWebMediaPlugin.h \
INCLUDEPATH += src/webkit
}
contains(DEFINES,USE_WEBENGINE){
QT += webenginewidgets
SOURCES += src/webengine/TWebEngineView.cpp \
src/webengine/TWebEnginePage.cpp \
HEADERS += src/webengine/TWebEngineView.h \
src/webengine/TWebEnginePage.h \
INCLUDEPATH += src/webengine
}
contains(DEFINES,USE_CEF){
SOURCES += src/cefview/TCefView.cpp \
src/cefview/TCefHandle.cpp \
HEADERS += src/cefview/TCefView.h \
src/cefview/TCefHandle.h \
INCLUDEPATH += src/cefview ./inc
}