Typica is a free program for professional coffee roasters. https://typica.us
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

main.cpp 553B

123456789101112131415161718192021222324252627282930
  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. #if QT_VERSION < QT_VERSION_CHECK(5,0,0)
  14. //redirect debug messages to the MessageWindow dialog
  15. qInstallMsgHandler(MessageWindow::AppendMsgWrapper);
  16. #else
  17. qInstallMessageHandler(MessageWindow::AppendMsgWrapper);
  18. #endif
  19. //! [0]
  20. MainWindow mainWindow;
  21. mainWindow.show();
  22. return app.exec();
  23. }