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

Qt 5.9.4 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