forked from yundiantech/VideoPlayer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
VideoPlayer.pro
62 lines (47 loc) · 1.26 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
#-------------------------------------------------
#
# 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}/bin32
} else {
message("64-bit")
DESTDIR = $${PWD}/bin64
}
QMAKE_CXXFLAGS += -std=c++11
TARGET = VideoPlayer
TEMPLATE = app
#包含视频播放器的代码
include(module/VideoPlayer/VideoPlayer.pri)
#包含可拖动窗体的代码
include(module/DragAbleWidget/DragAbleWidget.pri)
SOURCES += \
src/main.cpp \
src/AppConfig.cpp \
src/Base/FunctionTransfer.cpp \
src/MainWindow.cpp \
src/Widget/ShowVideoWidget.cpp \
src/Widget/VideoSlider.cpp
HEADERS += \
src/AppConfig.h \
src/Base/FunctionTransfer.h \
src/MainWindow.h \
src/Widget/ShowVideoWidget.h \
src/Widget/VideoSlider.h
FORMS += \
src/MainWindow.ui \
src/Widget/ShowVideoWidget.ui
RESOURCES += \
resources/resources.qrc
INCLUDEPATH += $$PWD/src
win32:RC_FILE=$$PWD/resources/main.rc