This commit is contained in:
likehomedream 2023-12-19 16:21:34 +08:00
parent fe9d942b9e
commit 922ab4935d
3 changed files with 6 additions and 1 deletions

3
debian/control vendored
View File

@ -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

View File

@ -98,3 +98,4 @@ appdesktop.files += kylin-theme-builder.desktop
appdesktop.path = /usr/share/applications/
INSTALLS +=target qm_files appdesktop
LIBS += -lukui-log4qt

View File

@ -1,10 +1,13 @@
#include "mainwindow.h"
#include <ukui-log4qt.h>
#include <QTranslator>
#include <QDir>
#include <QDebug>
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
initUkuiLog4qt("kylin-theme-builder");
//翻译
QTranslator app_trans;
QString locale = QLocale::system().name();