Qt 5.9 | Qt Serial Port | Command Line Reader Async Example | creaderasync.pro Example File

Qt 5.9.4 Reference Documentation

# creaderasync.pro Example File

creaderasync/creaderasync.pro

      QT = core
      QT += serialport

      CONFIG += console
      CONFIG -= app_bundle

      TARGET = creaderasync
      TEMPLATE = app

      HEADERS += \
          serialportreader.h

      SOURCES += \
          main.cpp \
          serialportreader.cpp

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