Qt 5.9 | Qt Serial Port | Command Line Enumerator Example | cenumerator.pro Example File

Qt 5.9.4 Reference Documentation

# cenumerator.pro Example File

cenumerator/cenumerator.pro

      QT = core
      QT += serialport

      CONFIG += console
      CONFIG -= app_bundle

      TARGET = cenumerator
      TEMPLATE = app

      SOURCES += \
          main.cpp

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