main.cpp 476 B

1234567891011121314151617181920
  1. #include "mainwindow.h"
  2. #include <QApplication>
  3. #include <QLog/qlog.h>
  4. int main(int argc, char *argv[])
  5. {
  6. QApplication a(argc, argv);
  7. auto qtlog = QLOG::QLogManger::this_()->qDebugLog();
  8. qtlog->setOutState(QLOG::File);
  9. auto log = QLOG::QLogManger::this_()->baseLog();
  10. log->setOutState(QLOG::File);
  11. MainWindow w;
  12. w.show();
  13. return a.exec();
  14. }
  15. // TODO: 打包详情,UI and code
  16. // 数据库有层级,注意同步单位为码单