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!