-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathShutMgr_R.pro
66 lines (51 loc) · 1.44 KB
/
ShutMgr_R.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
# 演示模式
# DEFINES += DEMO_MODE
QT += core gui \
network
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
greaterThan(QT_MAJOR_VERSION, 5): QT += core5compat
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 += \
floatingbutton.cpp \
machinewnd.cpp \
main.cpp \
nightmodechecker.cpp \
shutdownpara.cpp \
shutdowntask.cpp \
shutmgrwnd.cpp \
logwnd.cpp \
shutprocess.cpp \
starterchecker.cpp
HEADERS += \
darkqss.h \
floatingbutton.h \
machinewnd.h \
nightmodechecker.h \
shutdownpara.h \
shutdowntask.h \
shutmgrwnd.h \
logwnd.h \
shutprocess.h \
starterchecker.h
FORMS += \
floatingbutton.ui \
machinewnd.ui \
shutmgrwnd.ui \
logwnd.ui
# TRANSLATIONS += \
# ShutMgr_R_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 += \
resources.qrc
# 如果你有WDK,就不用这一句
# LIBS += \
# ???\Qt\Tools\mingw1120_64\x86_64-w64-mingw32\lib\libpowrprof.a
QMAKE_CXXFLAGS += -Zm512