Qt 5.9 | Qt Serial Port | Blocking Slave Example | blockingslave.pro Example File

Qt 5.9.4 Reference Documentation

# blockingslave.pro Example File

blockingslave/blockingslave.pro

      QT += widgets serialport

      TARGET = blockingslave
      TEMPLATE = app

      HEADERS += \
          dialog.h \
          slavethread.h

      SOURCES += \
          main.cpp \
          dialog.cpp \
          slavethread.cpp

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