AntiClipSettings/main.cpp

20 lines
625 B
C++
Raw Normal View History

2024-08-13 20:06:10 +08:00
#include "Application.h"
#include "BoostLog.h"
#include "Configuration.h"
2024-08-13 09:54:41 +08:00
#include <QGuiApplication>
#include <QQmlApplicationEngine>
2024-08-21 09:26:06 +08:00
#include <QQuickStyle>
2024-08-13 09:54:41 +08:00
2024-08-13 20:06:10 +08:00
int main(int argc, char *argv[]) {
using namespace Amass;
boost::log::initialize("logs/app");
LOG(info) << "Compiled on: " << __DATE__ << " " << __TIME__ << std::endl;
LOG(info) << "Git commit ID: " << GIT_COMMIT_ID << std::endl;
LOG(info) << "Program version: " << APP_VERSION << std::endl;
2024-08-13 09:54:41 +08:00
2024-08-13 20:06:10 +08:00
auto app = Singleton<Application>::instance<Construct>(argc, argv);
2024-08-21 09:26:06 +08:00
QQuickStyle::setStyle("Basic");
2024-08-13 20:06:10 +08:00
return app->exec();
2024-08-13 09:54:41 +08:00
}