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

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