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

Qt 5.11.3 Reference Documentation

# console_app.pro Example File

grue/console_app/console_app.pro

      TEMPLATE = app
      TARGET = detect_grue
      CONFIG += console
      CONFIG -= app_bundle
      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!