forked from gitgitTrue/Sapphire-EnhancedDesktop
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSapphire.pro
97 lines (81 loc) · 2.07 KB
/
Sapphire.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
88
89
90
91
92
93
QT += core gui widgets winextras network concurrent quick qml
win32 {
LIBS+= -luser32 # 使用WindowsAPI需要链接库
LIBS+= -ldwmapi
LIBS += -lOle32 -luuid -lshlwapi -luser32 -lshell32 -lsetupapi
}
msvc:QMAKE_CXXFLAGS += -execution-charset:utf-8
msvc:QMAKE_CXXFLAGS += -source-charset:utf-8
VERSION = 1.2.3.2
QMAKE_PROJECT_DEPTH = 0
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
CONFIG += c++17
# You can make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
ContextMenu/contextmenu.cpp \
ContextMenu/shellitem.cpp \
ContextMenu/shellmemmanager.cpp \
SysFunctions.cpp \
ed_bgshower.cpp \
ed_block.cpp \
ed_blockcontainer.cpp \
ed_blocklayout.cpp \
ed_container.cpp \
ed_dock.cpp \
ed_editbox.cpp \
ed_hidetextblock.cpp \
ed_layout.cpp \
ed_linearlayout.cpp \
ed_unit.cpp \
filepreviewwidget.cpp \
hitokoto.cpp \
layershower.cpp \
main.cpp \
mainwindow.cpp \
mousehook.cpp \
picturebox.cpp \
roundshower.cpp \
style.cpp \
weather.cpp
HEADERS += \
ContextMenu/contextmenu.h \
ContextMenu/shellitem.h \
ContextMenu/shellmemmanager.h \
SysFunctions.h \
ed_bgshower.h \
ed_block.h \
ed_blockcontainer.h \
ed_blocklayout.h \
ed_container.h \
ed_dock.h \
ed_editbox.h \
ed_hidetextblock.h \
ed_layout.h \
ed_linearlayout.h \
ed_unit.h \
filepreviewwidget.h \
hitokoto.h \
layershower.h \
mainwindow.h \
mousehook.h \
picturebox.h \
roundshower.h \
style.h \
weather.h
FORMS += \
mainwindow.ui
TRANSLATIONS += \
Sapphire_zh_CN.ts \
CONFIG += lrelease \
CONFIG += embed_translations \
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
RESOURCES += \
res.qrc
DISTFILES += \
README.md \
style.json