lib.pro Example File | Qt Sensors 5.5

- Qt 5.5
- Qt Sensors
- Qt Sensors - Grue Sensor Example
- lib.pro Example File
- Qt 5.5.1 Reference Documentation

# lib.pro Example File

grue/lib/lib.pro

    TEMPLATE = lib
    TARGET = gruesensor

    DESTDIR = $$OUT_PWD/..

    DEFINES *= QT_BUILD_GRUE_LIB
    QT = core sensors

    HEADERS += gruesensor.h \
               gruesensor_p.h

    SOURCES += gruesensor.cpp

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