Qt 5.9 | Qt Bluetooth | Bluetooth Low Energy Scanner Example | lowenergyscanner.pro Example File

Qt 5.9.9 Reference Documentation

# lowenergyscanner.pro Example File

lowenergyscanner/lowenergyscanner.pro

      TARGET = lowenergyscanner
      INCLUDEPATH += .

      QT += quick bluetooth

      # Input
      SOURCES += main.cpp \
          device.cpp \
          deviceinfo.cpp \
          serviceinfo.cpp \
          characteristicinfo.cpp

      OTHER_FILES += assets/*.qml

      HEADERS += \
          device.h \
          deviceinfo.h \
          serviceinfo.h \
          characteristicinfo.h

      RESOURCES += \
          resources.qrc

      target.path = $$[QT_INSTALL_EXAMPLES]/bluetooth/lowenergyscanner
      INSTALLS += target