console_app.pro Example File | Qt Sensors 5.6

Qt 5.6 | Qt Sensors | Qt Sensors - Grue Sensor Example | console_app.pro Example File

Qt 5.6.2 Reference Documentation

# console_app.pro Example File

grue/console_app/console_app.pro

      TEMPLATE = app
      TARGET = detect_grue
      CONFIG += console
      QT = core sensors

      DESTDIR = $$OUT_PWD/..

      SOURCES = main.cpp

      target.path = $$[QT_INSTALL_EXAMPLES]/sensors/grue
      INSTALLS += target

      CONFIG += install_ok  # Do not cargo-cult this!