Qt 5.11 | Qt Bluetooth | Bluetooth File Transfer Example | btfiletransfer.pro Example File

Qt 5.11.3 Reference Documentation

# btfiletransfer.pro Example File

btfiletransfer/btfiletransfer.pro

      TEMPLATE = app
      TARGET = btfiletransfer

      QT = core bluetooth widgets
      requires(qtConfig(filedialog))

      SOURCES = \
          main.cpp \
          remoteselector.cpp \
          progress.cpp \
          pindisplay.cpp

      HEADERS = \
          remoteselector.h \
          progress.h \
          pindisplay.h

      FORMS = \
          remoteselector.ui \
          progress.ui \
          pindisplay.ui

      OTHER_FILES += \
          busy.gif \
          pairing.gif

      RESOURCES += \
          btfiletransfer.qrc

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