Typica is a free program for professional coffee roasters. https://typica.us
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

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. }