22 lines
444 B
C++
22 lines
444 B
C++
#include "logger.h"
|
|
#include "settings.h"
|
|
#include "mainwindow.h"
|
|
|
|
#include <QApplication>
|
|
|
|
Q_LOGGING_CATEGORY(Application, "Application")
|
|
|
|
int main(int argc, char *argv[])
|
|
{
|
|
QApplication a(argc, argv);
|
|
|
|
Logging::setupLogging();
|
|
// qCInfo(Application) << "Application starts 程序启动";
|
|
qCInfo(Application, "Application starts 程序启动");
|
|
Settings::instance();
|
|
|
|
MainWindow w;
|
|
w.show();
|
|
return a.exec();
|
|
}
|