add log
This commit is contained in:
parent
fe9d942b9e
commit
922ab4935d
|
@ -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
|
||||
|
|
|
@ -98,3 +98,4 @@ appdesktop.files += kylin-theme-builder.desktop
|
|||
appdesktop.path = /usr/share/applications/
|
||||
|
||||
INSTALLS +=target qm_files appdesktop
|
||||
LIBS += -lukui-log4qt
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue