This commit is contained in:
zhuzichu 2024-01-03 16:56:28 +08:00
parent cc4e88adbd
commit 1d917baac7

View File

@ -8,6 +8,7 @@
#include <QProcess> #include <QProcess>
#include <QtQml/qqmlextensionplugin.h> #include <QtQml/qqmlextensionplugin.h>
#include <QLoggingCategory> #include <QLoggingCategory>
#include "Version.h"
#include "AppInfo.h" #include "AppInfo.h"
#include "helper/Log.h" #include "helper/Log.h"
#include "src/component/CircularReveal.h" #include "src/component/CircularReveal.h"
@ -34,6 +35,7 @@ int main(int argc, char *argv[])
QGuiApplication::setOrganizationName("ZhuZiChu"); QGuiApplication::setOrganizationName("ZhuZiChu");
QGuiApplication::setOrganizationDomain("https://zhuzichu520.github.io"); QGuiApplication::setOrganizationDomain("https://zhuzichu520.github.io");
QGuiApplication::setApplicationName("FluentUI"); QGuiApplication::setApplicationName("FluentUI");
QGuiApplication::setApplicationVersion(APPLICATION_VERSION);
SettingsHelper::getInstance()->init(argv); SettingsHelper::getInstance()->init(argv);
Log::setup("example"); Log::setup("example");
#if (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0)) #if (QT_VERSION >= QT_VERSION_CHECK(6, 5, 0))