-
Notifications
You must be signed in to change notification settings - Fork 181
/
VideoPlayer.pro
66 lines (51 loc) · 1.5 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
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
#-------------------------------------------------
#
# Project created by QtCreator 2016-09-01T16:10:47
#
#-------------------------------------------------
QT += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++11
UI_DIR = obj/Gui
MOC_DIR = obj/Moc
OBJECTS_DIR = obj/Obj
#将输出文件直接放到源码目录下的bin目录下,将dll都放在了此目录中,用以解决运行后找不到dll的问
#DESTDIR=$$PWD/bin/
contains(QT_ARCH, i386) {
message("32-bit")
DESTDIR = $${PWD}/bin/win32
} else {
message("64-bit")
DESTDIR = $${PWD}/bin/win64
}
QMAKE_CXXFLAGS += -std=c++11
TARGET = VideoPlayer
TEMPLATE = app
#引入VideoPlayer模块代码
include(module/VideoPlayer/VideoPlayer.pri)
#引入DragAbleWidget模块代码
include(module/DragAbleWidget/DragAbleWidget.pri)
SOURCES += \
src/Widget/SetVideoUrlDialog.cpp \
src/Widget/mymessagebox_withTitle.cpp \
src/main.cpp \
src/AppConfig.cpp \
src/MainWindow.cpp \
src/Widget/ShowVideoWidget.cpp \
src/Widget/VideoSlider.cpp
HEADERS += \
src/AppConfig.h \
src/MainWindow.h \
src/Widget/SetVideoUrlDialog.h \
src/Widget/ShowVideoWidget.h \
src/Widget/VideoSlider.h \
src/Widget/mymessagebox_withTitle.h
FORMS += \
src/MainWindow.ui \
src/Widget/SetVideoUrlDialog.ui \
src/Widget/ShowVideoWidget.ui \
src/Widget/mymessagebox_withTitle.ui
RESOURCES += \
resources/resources.qrc
INCLUDEPATH += $$PWD/src
win32:RC_FILE=$$PWD/resources/main.rc