Qt Documentation (Technology Preview) | Qt Gamepad | Qt Gamepad Simple Example | simple.pro Example File

Qt 5.9.4 Reference Documentation

# simple.pro Example File

simple/simple.pro

      QT += gamepad

      CONFIG += c++11

      SOURCES = main.cpp \
          gamepadmonitor.cpp

      HEADERS += \
          gamepadmonitor.h

      DISTFILES += \
          android/AndroidManifest.xml

      ANDROID_PACKAGE_SOURCE_DIR = $$PWD/android

      target.path = $$[QT_INSTALL_EXAMPLES]/gamepad/simple
      INSTALLS += target