Typica is a free program for professional coffee roasters. https://typica.us
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

main.cpp 429B

1234567891011121314151617181920212223242526
  1. /**
  2. * @file main.cpp
  3. * @brief Main file.
  4. * @author Micha? Policht
  5. */
  6. #include <QApplication>
  7. #include "MainWindow.h"
  8. #include "MessageWindow.h"
  9. int main(int argc, char *argv[])
  10. {
  11. QApplication app(argc, argv);
  12. //! [0]
  13. //redirect debug messages to the MessageWindow dialog
  14. qInstallMsgHandler(MessageWindow::AppendMsgWrapper);
  15. //! [0]
  16. MainWindow mainWindow;
  17. mainWindow.show();
  18. return app.exec();
  19. }