#include "BoostLog.h" #include "Widget.h" #include #include int main(int argc, char *argv[]) { boost::log::initialize("logs/app"); QApplication a(argc, argv); QFont font; font.setPointSize(16); a.setFont(font); Widget w; w.initializeLogger(); w.setWindowTitle("L015上位机工具"); w.setMinimumWidth(1120); w.setMinimumHeight(640); w.show(); return a.exec(); }