Qt 5.7 | Qt Bluetooth | Bluetooth Low Energy Heart Listener Example | heartlistener.pro Example File

Qt 5.7.1 Reference Documentation

# heartlistener.pro Example File

heartlistener/heartlistener.pro

      TEMPLATE = app
      TARGET = heartlistener

      QT += quick bluetooth

      # Input
      HEADERS += deviceinfo.h \
                 heartrate.h
      SOURCES += deviceinfo.cpp \
                 heartrate.cpp \
                 main.cpp

      OTHER_FILES += assets/*.qml \
                     assets/*.js

      RESOURCES += \
                   resources.qrc

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