lowenergyscanner.pro Example File | Qt Bluetooth 5.11

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

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