2021-08-06 10:20:03 +08:00
|
|
|
QT += core
|
|
|
|
QT -= gui
|
2021-08-17 10:07:35 +08:00
|
|
|
QT += dbus xml
|
2021-08-06 10:20:03 +08:00
|
|
|
|
|
|
|
CONFIG += c++11 console
|
|
|
|
CONFIG -= app_bundle
|
|
|
|
|
|
|
|
CONFIG += link_pkgconfig
|
|
|
|
|
2021-08-26 20:12:48 +08:00
|
|
|
LIBS += -lblkid \
|
|
|
|
-lkysec
|
|
|
|
|
2021-08-06 10:20:03 +08:00
|
|
|
# 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
|
|
|
|
|
|
|
|
# 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
|
2021-12-09 10:00:07 +08:00
|
|
|
QMAKE_CXXFLAGS += -Wno-implicit-fallthrough
|
2021-08-06 10:20:03 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
|
|
|
../common/mydefine.h \
|
2021-08-17 10:07:35 +08:00
|
|
|
../common/mydusizetool.h \
|
2021-08-06 10:20:03 +08:00
|
|
|
../common/mylittleparse.h \
|
|
|
|
../common/reflect.h \
|
|
|
|
../common/singleton.h \
|
|
|
|
../common/spinlock_mutex.h \
|
|
|
|
../common/utils.h \
|
|
|
|
backupmanager_adaptor.h \
|
2021-12-06 14:55:00 +08:00
|
|
|
deletebackupproxy.h \
|
2021-08-06 10:20:03 +08:00
|
|
|
mybackupmanager.h \
|
|
|
|
mymountproxy.h \
|
2021-08-19 19:24:49 +08:00
|
|
|
myprocess/calcbackupsize.h \
|
2021-11-20 12:09:26 +08:00
|
|
|
myprocess/mksquashfsprocess.h \
|
2021-08-06 10:20:03 +08:00
|
|
|
myprocess/mountbackupprocess.h \
|
2021-08-24 18:08:18 +08:00
|
|
|
myprocess/rsyncpathtodirprocess.h \
|
2021-11-15 13:36:00 +08:00
|
|
|
mythread.h \
|
2021-08-17 10:07:35 +08:00
|
|
|
parsebackuplist.h \
|
2021-08-06 10:20:03 +08:00
|
|
|
systembackupproxy.h \
|
2021-12-09 10:00:07 +08:00
|
|
|
systemrestoreproxy.h \
|
2021-11-11 16:03:58 +08:00
|
|
|
udisksystembackupproxy.h \
|
2021-12-11 09:49:09 +08:00
|
|
|
udisksystemrestoreproxy.h \
|
2021-08-06 10:20:03 +08:00
|
|
|
workerfactory.h
|
|
|
|
|
|
|
|
SOURCES += \
|
|
|
|
../common/mydefine.cpp \
|
2021-08-17 10:07:35 +08:00
|
|
|
../common/mydusizetool.cpp \
|
2021-08-06 10:20:03 +08:00
|
|
|
../common/mylittleparse.cpp \
|
|
|
|
../common/reflect.cpp \
|
|
|
|
../common/utils.cpp \
|
|
|
|
backupmanager_adaptor.cpp \
|
2021-12-06 14:55:00 +08:00
|
|
|
deletebackupproxy.cpp \
|
2021-08-06 10:20:03 +08:00
|
|
|
main.cpp \
|
|
|
|
mybackupmanager.cpp \
|
|
|
|
mymountproxy.cpp \
|
2021-08-19 19:24:49 +08:00
|
|
|
myprocess/calcbackupsize.cpp \
|
2021-11-20 12:09:26 +08:00
|
|
|
myprocess/mksquashfsprocess.cpp \
|
2021-08-06 10:20:03 +08:00
|
|
|
myprocess/mountbackupprocess.cpp \
|
2021-08-24 18:08:18 +08:00
|
|
|
myprocess/rsyncpathtodirprocess.cpp \
|
2021-11-15 13:36:00 +08:00
|
|
|
mythread.cpp \
|
2021-08-17 10:07:35 +08:00
|
|
|
parsebackuplist.cpp \
|
2021-08-06 10:20:03 +08:00
|
|
|
systembackupproxy.cpp \
|
2021-12-09 10:00:07 +08:00
|
|
|
systemrestoreproxy.cpp \
|
2021-11-11 16:03:58 +08:00
|
|
|
udisksystembackupproxy.cpp \
|
2021-12-11 09:49:09 +08:00
|
|
|
udisksystemrestoreproxy.cpp \
|
2021-08-06 10:20:03 +08:00
|
|
|
workerfactory.cpp
|
|
|
|
|
|
|
|
# Default rules for deployment.
|
|
|
|
# qnx: target.path = /tmp/$${TARGET}/bin
|
|
|
|
# else: unix:!android: target.path = /usr/bin
|
|
|
|
# !isEmpty(target.path): INSTALLS += target
|
|
|
|
|
|
|
|
|