diff --git a/debian/control b/debian/control index ec55024..806d4f6 100644 --- a/debian/control +++ b/debian/control @@ -14,7 +14,8 @@ Build-Depends: debhelper-compat (= 13), libkysdk-system-dev, libkysdk-qtwidgets-dev, libkysdk-waylandhelper, - libkysdk-waylandhelper-dev + libkysdk-waylandhelper-dev, + libukui-log4qt-dev Standards-Version: 4.6.0 Homepage: https://gitee.com/openkylin/kylin-theme-builder #Vcs-Browser: https://salsa.debian.org/debian/kylin-theme-builder diff --git a/kylin-theme-builder.pro b/kylin-theme-builder.pro index 97f76e5..59a3d2e 100644 --- a/kylin-theme-builder.pro +++ b/kylin-theme-builder.pro @@ -98,3 +98,4 @@ appdesktop.files += kylin-theme-builder.desktop appdesktop.path = /usr/share/applications/ INSTALLS +=target qm_files appdesktop +LIBS += -lukui-log4qt diff --git a/src/main.cpp b/src/main.cpp index 08472e8..12dddbe 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,10 +1,13 @@ #include "mainwindow.h" +#include + #include #include #include int main(int argc, char *argv[]) { QApplication a(argc, argv); + initUkuiLog4qt("kylin-theme-builder"); //翻译 QTranslator app_trans; QString locale = QLocale::system().name();