Home · All Classes · All Functions · |
/** * @file main.cpp * @brief Main file. * @author Micha? Policht */ #include <QApplication> #include "MainWindow.h" #include "MessageWindow.h" int main(int argc, char *argv[]) { int exec; QApplication app(argc, argv); //redirect debug messages to the MessageWindow dialog qInstallMsgHandler(MessageWindow::AppendMsgWrapper); MainWindow mainWindow(QLatin1String("QextSerialPort Test Application")); mainWindow.show(); exec = app.exec(); return exec; }
Copyright © 2000-2012 | QextSerialPort Project | QextSerialPort Manual |