2024-09-30 17:52:02 +08:00
|
|
|
QT += core gui svg KWindowSystem multimedia multimediawidgets concurrent dbus printsupport
|
2023-08-25 17:35:01 +08:00
|
|
|
|
|
|
|
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets
|
|
|
|
|
2023-12-04 17:25:01 +08:00
|
|
|
CONFIG += c++11 link_pkgconfig
|
2023-08-25 17:35:01 +08:00
|
|
|
|
2024-09-30 17:52:02 +08:00
|
|
|
KF5 += i18n doctools guiaddons widgetsaddons kio xmlgui textwidgets jobwidgets
|
|
|
|
|
|
|
|
PKGCONFIG += kysdk-qtwidgets kysdk-waylandhelper kysdk-sysinfo kysdk-datacollect gsettings-qt kylin-ai-base jsoncpp json-glib-1.0
|
|
|
|
|
|
|
|
INCLUDEPATH += /usr/include/KF5
|
|
|
|
INCLUDEPATH += /usr/include/KF5/KI18n
|
2023-12-11 10:58:57 +08:00
|
|
|
|
2023-08-25 17:35:01 +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
|
|
|
|
|
|
|
|
SOURCES += \
|
2024-01-02 16:51:16 +08:00
|
|
|
src/build/build.cpp \
|
2023-10-19 15:58:35 +08:00
|
|
|
src/build/buildWidget.cpp \
|
|
|
|
src/build/buildcheckwidget.cpp \
|
2023-11-08 10:59:55 +08:00
|
|
|
src/build/buildresultwidget.cpp \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/fileProcess/bridge.cpp \
|
2024-05-07 16:09:39 +08:00
|
|
|
src/fileProcess/datacollect.cpp \
|
2023-09-21 16:41:58 +08:00
|
|
|
src/fileProcess/diroperation.cpp \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/fileProcess/filecheck.cpp \
|
|
|
|
src/fileProcess/fileprocess.cpp \
|
|
|
|
src/fileProcess/configfilemanager.cpp \
|
2023-09-21 16:41:58 +08:00
|
|
|
src/fileProcess/historyinfoload.cpp \
|
2023-12-04 17:25:01 +08:00
|
|
|
src/module/aboutdialog.cpp \
|
2023-12-08 11:19:31 +08:00
|
|
|
src/module/basewidget.cpp \
|
2024-04-16 17:31:00 +08:00
|
|
|
src/module/batchimportdialog.cpp \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/module/cacheconfirmedwidget.cpp \
|
|
|
|
src/module/cursorthemefeature.cpp \
|
|
|
|
src/module/cursorthemewidget.cpp \
|
|
|
|
src/module/globalthemefeature.cpp \
|
|
|
|
src/module/globalthemewidget.cpp \
|
2023-11-01 14:59:12 +08:00
|
|
|
src/module/grubthemefeature.cpp \
|
|
|
|
src/module/grubthemewidget.cpp \
|
2023-09-19 16:07:00 +08:00
|
|
|
src/module/historywidget.cpp \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/module/iconthemewidget.cpp \
|
|
|
|
src/module/iconwidgetfeature.cpp \
|
|
|
|
src/module/infocreatefeature.cpp \
|
|
|
|
src/module/infocreatewidget.cpp \
|
2023-08-28 15:47:46 +08:00
|
|
|
src/main.cpp \
|
|
|
|
src/maininterface.cpp \
|
2023-09-04 16:22:00 +08:00
|
|
|
src/mainwindow.cpp \
|
2023-11-01 14:59:12 +08:00
|
|
|
src/module/plymouththemefeature.cpp \
|
|
|
|
src/module/plymouththemewidget.cpp \
|
2023-12-04 17:25:01 +08:00
|
|
|
src/module/savepathdialog.cpp \
|
2024-09-30 17:52:02 +08:00
|
|
|
src/titlebar.cpp \
|
|
|
|
src/aithemebar.cpp
|
2023-08-25 17:35:01 +08:00
|
|
|
|
|
|
|
HEADERS += \
|
2023-10-19 15:58:35 +08:00
|
|
|
src/build/build.h \
|
|
|
|
src/build/buildWidget.h \
|
|
|
|
src/build/buildcheckwidget.h \
|
2023-11-08 10:59:55 +08:00
|
|
|
src/build/buildresultwidget.h \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/fileProcess/bridge.h \
|
2024-05-07 16:09:39 +08:00
|
|
|
src/fileProcess/datacollect.h \
|
2023-09-21 16:41:58 +08:00
|
|
|
src/fileProcess/diroperation.h \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/fileProcess/filecheck.h \
|
|
|
|
src/fileProcess/fileprocess.h \
|
|
|
|
src/fileProcess/configfilemanager.h \
|
2023-09-21 16:41:58 +08:00
|
|
|
src/fileProcess/historyinfoload.h \
|
2023-12-04 17:25:01 +08:00
|
|
|
src/module/aboutdialog.h \
|
2023-12-08 11:19:31 +08:00
|
|
|
src/module/basewidget.h \
|
2024-04-16 17:31:00 +08:00
|
|
|
src/module/batchimportdialog.h \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/module/cacheconfirmedwidget.h \
|
|
|
|
src/module/cursorthemefeature.h \
|
|
|
|
src/module/cursorthemewidget.h \
|
|
|
|
src/module/globalthemefeature.h \
|
|
|
|
src/module/globalthemewidget.h \
|
2023-11-01 14:59:12 +08:00
|
|
|
src/module/grubthemefeature.h \
|
|
|
|
src/module/grubthemewidget.h \
|
2023-09-19 16:07:00 +08:00
|
|
|
src/module/historywidget.h \
|
2023-09-18 14:57:27 +08:00
|
|
|
src/module/iconthemewidget.h \
|
|
|
|
src/module/iconwidgetfeature.h \
|
|
|
|
src/module/infocreatefeature.h \
|
|
|
|
src/module/infocreatewidget.h \
|
2023-08-28 15:47:46 +08:00
|
|
|
src/maininterface.h \
|
2023-09-04 16:22:00 +08:00
|
|
|
src/mainwindow.h \
|
2023-11-01 14:59:12 +08:00
|
|
|
src/module/plymouththemefeature.h \
|
|
|
|
src/module/plymouththemewidget.h \
|
2023-12-04 17:25:01 +08:00
|
|
|
src/module/savepathdialog.h \
|
2024-09-30 17:52:02 +08:00
|
|
|
src/titlebar.h \
|
|
|
|
src/aithemebar.h
|
2023-08-25 17:35:01 +08:00
|
|
|
|
2023-12-11 10:58:57 +08:00
|
|
|
RESOURCES += \
|
|
|
|
resource.qrc
|
|
|
|
|
|
|
|
TRANSLATIONS += translation/themebuilder_zh_CN.ts \
|
|
|
|
translation/themebuilder_en_US.ts
|
|
|
|
|
2023-08-25 17:35:01 +08:00
|
|
|
# Default rules for deployment.
|
2023-11-08 16:53:35 +08:00
|
|
|
target.source += $$TARGET
|
|
|
|
target.path = /usr/bin
|
|
|
|
|
2023-12-11 10:58:57 +08:00
|
|
|
qm_files.files = translation/*.qm
|
2023-11-08 16:53:35 +08:00
|
|
|
qm_files.path = /usr/share/kylin-theme-builder/translations/
|
|
|
|
|
|
|
|
appdesktop.files += kylin-theme-builder.desktop
|
|
|
|
appdesktop.path = /usr/share/applications/
|
|
|
|
|
|
|
|
INSTALLS +=target qm_files appdesktop
|
2024-09-30 17:52:02 +08:00
|
|
|
|
|
|
|
LIBS += -lukui-log4qt -L/usr/lib/x86_64-linux-gnu -lKF5I18n
|