terminal.pro Example File | Qt Serial Port 5.6

Qt 5.6 | Qt Serial Port | Terminal Example | terminal.pro Example File

Qt 5.6.2 Reference Documentation

# terminal.pro Example File

terminal/terminal.pro

      QT += widgets serialport

      TARGET = terminal
      TEMPLATE = app

      SOURCES += \
          main.cpp \
          mainwindow.cpp \
          settingsdialog.cpp \
          console.cpp

      HEADERS += \
          mainwindow.h \
          settingsdialog.h \
          console.h

      FORMS += \
          mainwindow.ui \
          settingsdialog.ui

      RESOURCES += \
          terminal.qrc

      target.path = $$[QT_INSTALL_EXAMPLES]/serialport/terminal
      INSTALLS += target