main.cpp 469 B

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