btscanner.pro Example File | Qt Bluetooth 5.11

Qt 5.11 | Qt Bluetooth | Bluetooth Scanner Example | btscanner.pro Example File

Qt 5.11.3 Reference Documentation

# btscanner.pro Example File

btscanner/btscanner.pro

      TARGET = btscanner

      QT = core bluetooth widgets
      requires(qtConfig(listwidget))
      TEMPLATE = app

      SOURCES = \
          main.cpp \
          device.cpp \
          service.cpp

      HEADERS = \
          device.h \
          service.h

      FORMS = \
          device.ui \
          service.ui

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