forked from GLDsuh-a/qt-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
NetEase.pro
86 lines (74 loc) · 2.3 KB
/
NetEase.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
#-------------------------------------------------
#
# Project created by QtCreator 2015-04-24T23:12:41
#
#-------------------------------------------------
QT = core gui multimedia sql network
greaterThan(QT_MAJOR_VERSION, 4): QT = widgets
TARGET = NetEase
TEMPLATE = app
SOURCES = \
src/mainwidget/mainwindow.cpp \
src/main.cpp \
src/basedwidget/basedwidget.cpp \
src/toolwidget/imagebutton.cpp \
src/basedwidget/basedstyleshetwidget.cpp \
src/mainwidget/maintopwidget.cpp \
src/mainwidget/mainbottomwidget.cpp \
src/toolwidget/funcbutton.cpp \
src/toolwidget/sliderwidget.cpp \
src/mainwidget/tools/musiclistswidget.cpp \
src/mainwidget/tools/userwidget.cpp \
src/toolwidget/buttonlabel.cpp \
src/toolwidget/addmusiclist.cpp \
src/Data/sqlitedata.cpp \
src/mainwidget/networkwidget.cpp \
src/toolwidget/searchwidget.cpp \
src/mainwidget/tools/loginwidget.cpp \
src/mainwidget/tools/titlewidget.cpp \
src/basedwidget/backgroundwidget.cpp
HEADERS = \
src/mainwidget/mainwindow.h \
src/mainwidget/tools/titlewidget.h \
src/toolwidget/imagebutton.h \
src/datatypedef/datatypdef.h \
src/basedwidget/basedstyleshetwidget.h \
src/mainwidget/maintopwidget.h \
src/mainwidget/mainbottomwidget.h \
src/toolwidget/funcbutton.h \
src/toolwidget/sliderwidget.h \
src/mainwidget/tools/userwidget.h \
src/toolwidget/buttonlabel.h \
src/toolwidget/addmusiclist.h \
src/mainwidget/networkwidget.h \
src/mainwidget/tools/loginwidget.h \
src/toolwidget/searchwidget.h \
src/basedwidget/basedwidget.h \
src/mainwidget/tools/musiclistswidget.h \
src/basedwidget/backgroundwidget.h \
src/Data/sqlitedata.h
RESOURCES = \
resource/netease.qrc
DISTFILES =
#å¤åˆ¶æ•°æ®åº“æ–‡ä»?
win32{
RC_FILE = resource/NetEase.rc
COPY = copy /y
MKDIR = mkdir
}else{
COPY = cp
MKDIR = mkdir -p
}
FILES_COPY_SRC = resource/sql/music.db \
resource/qss/default.qss \
!equals(_PRO_FILE_PWD_, OUT_PWD) {
for(f, FILES_COPY_SRC){
orig_file = $$_PRO_FILE_PWD_/$$f
dist_file = $$OUT_PWD/$$f
dist = $$dirname(dist_file)
win32:dist = $$replace(dist, /, \\)
win32:orig_file = $$replace(orig_file, /, \\)
!exists($$dist):system($$MKDIR $$dist)
!exists($$dist_file):system($$COPY $$orig_file $$dist)
}
}