#include #include #include #include #include #include #include #include #include #include #include #include "sharedata.h" #include "serialcontroller.h" #include "lua_wraper.h" #include "mainwindow.h" #include int main(int argc, char *argv[]) { AllocConsole(); freopen("CONOUT$","w",stdout); QApplication app(argc, argv); QApplication::setAttribute(Qt::AA_EnableHighDpiScaling); printf("hello world"); MainWindow w; w.setWindowTitle("协议调试器"); w.show(); return app.exec(); }