-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathkylin-boot-repair.pro
107 lines (92 loc) · 2.77 KB
/
kylin-boot-repair.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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
QT += core gui network dbus KWindowSystem x11extras
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
LIBS +=-lpthread
LIBS +=-lX11
CONFIG += c++11
CONFIG += link_pkgconfig
PKGCONFIG += gsettings-qt
# v10禁用窗管
lessThan(QT_VERSION, 5.9){
DEFINES += __V10__
QT -= x11extras
LIBS -= -lpthread
LIBS -= -lX11
}
# The following define makes your compiler emit warnings if you use
# any Qt feature that has been marked deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS
LIBS += -lpolkit-qt5-core-1
# You can also make your code fail to compile if it uses deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000 # disables all the APIs deprecated before Qt 6.0.0
SOURCES += \
src/aboutwidget.cpp \
src/boot_repair.cpp \
src/cmd_bash.cpp \
src/daemonipcdbus.cpp \
src/dbusadaptor.cpp \
src/fdisk_thread.cpp \
src/finish_page.cpp \
src/logwidget.cpp \
src/main.cpp \
src/mainwindow.cpp \
src/partion_device.cpp \
src/pre_page.cpp \
src/pre_repair.cpp \
src/repair_page.cpp \
src/repair_page2.cpp \
src/start_page.cpp \
src/stylewidget.cpp \
src/stylewidgetattribute.cpp \
src/stylewidgetshadow.cpp \
src/sudoauthoritydialog.cpp \
src/tabmenushadow.cpp \
src/tabwidget.cpp \
src/warning_page.cpp
HEADERS += \
src/aboutwidget.h \
src/boot_repair.h \
src/cmd_bash.h \
src/daemonipcdbus.h \
src/dbusadaptor.h \
src/fdisk_thread.h \
src/finish_page.h \
src/logwidget.h \
src/mainwindow.h \
src/partion_device.h \
src/pre_page.h \
src/pre_repair.h \
src/repair_page.h \
src/repair_page2.h \
src/start_page.h \
src/structNeedToUse.h \
src/stylewidget.h \
src/stylewidgetattribute.h \
src/stylewidgetshadow.h \
src/sudoauthoritydialog.h \
src/tabmenushadow.h \
src/tabwidget.h \
src/warning_page.h
FORMS +=
TRANSLATIONS += translations/kylin-boot-repair_zh_CN.ts \
translations/kylin-boot-repair_bo.ts
TARGET = kylin-boot-repair
target.path = /usr/bin
target.source += $$TARGET
icon.path = /usr/share/pixmaps
icon.files = data/bootrepair_icon.png
desktop.path = /usr/share/applications/
desktop.files = kylin-boot-repair.desktop
qm_files.files = translations/*.qm
qm_files.path = /usr/share/kylin-boot-repair/translations/
INSTALLS += target \
icon \
desktop \
qm_files
DISTFILES += \
data/bootrepair_icon.png \
RESOURCES += \
data.qrc