You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
394 B
C++

#include "widget.h"
#include <QApplication>
#include "EasySpdLog.h"
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
// 初始化日志类
auto loggerPath = QString(QApplication::applicationDirPath() + "/logs/log.log").toLocal8Bit();
SetLogger(loggerPath.data());
//
Widget w;
w.move(0, 0);
w.show();
return a.exec();
}