#include "mainwindow.h" #include <QApplication> #include <QPushButton> #include <QtSerialPort/QtSerialPort> int main(int argc, char *argv[]) { QApplication a(argc, argv); MainWindow w; w.show(); return a.exec(); }