SmartLockerTools/Analyser/main.cpp

17 lines
607 B
C++
Raw Normal View History

2024-06-13 15:41:40 +08:00
#include "Application.h"
2024-05-21 21:09:55 +08:00
#include "BoostLog.h"
2024-06-21 11:33:11 +08:00
#include "Configuration.h"
2024-09-05 16:36:54 +08:00
#include <QQuickStyle>
2024-05-21 21:09:55 +08:00
int main(int argc, char *argv[]) {
2024-06-13 15:41:40 +08:00
using namespace Amass;
2024-05-21 21:09:55 +08:00
boost::log::initialize("logs/app");
2024-06-21 11:33:11 +08:00
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-09-05 16:36:54 +08:00
QQuickStyle::setStyle("Basic"); // Basic Material
2024-06-13 15:41:40 +08:00
auto app = Singleton<Application>::instance<Construct>(argc, argv);
app->initializeLogger();
return app->exec();
2024-05-21 21:09:55 +08:00
}