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

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