diff options
author | Topi Reinio <topi.reinio@digia.com> | 2013-08-13 14:40:13 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-14 21:03:53 +0200 |
commit | 52c831db165f5068826dddef4d41427a98a42dfd (patch) | |
tree | 6d79c1c09ca5894fc3beb3f9627047f9cff6e435 /examples/sensors/grue/lib/lib.pro | |
parent | 6dd954f2b9ce1f241d968d201183f8a80d729e57 (diff) | |
download | qtsensors-52c831db165f5068826dddef4d41427a98a42dfd.tar.gz |
Doc: Update Grue Sensor example
Fix a number of issues with the example:
- Add \omit to generated doc sections, we don't want
qdoc to process these (not part of Qt docs)
- Combine the 5 separate examples into a single \example
and discuss each subproject in a subsection
- Add example image to doc
- Fix deployment/build target directories and import paths
- Define a 'reading' property for the sensor to make it work
on QtSensors 5.1
- Fix the Grue QML application to avoid flicker from frequent
updates.
Task-number: QTBUG-32881
Change-Id: I2785faead1baaf5b1ae9d05df3398e018e945418
Reviewed-by: Jerome Pasion <jerome.pasion@digia.com>
Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com>
Diffstat (limited to 'examples/sensors/grue/lib/lib.pro')
-rw-r--r-- | examples/sensors/grue/lib/lib.pro | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/examples/sensors/grue/lib/lib.pro b/examples/sensors/grue/lib/lib.pro index 4d12062..3442abe 100644 --- a/examples/sensors/grue/lib/lib.pro +++ b/examples/sensors/grue/lib/lib.pro @@ -1,16 +1,15 @@ TEMPLATE = lib TARGET = gruesensor -# avoid going to release/debug subdirectory -win32:DESTDIR = $$OUT_PWD +DESTDIR = $$OUT_PWD/.. DEFINES *= QT_BUILD_GRUE_LIB QT = core sensors -HEADERS += gruesensor.h\ - gruesensor_p.h\ +HEADERS += gruesensor.h \ + gruesensor_p.h -SOURCES += gruesensor.cpp\ +SOURCES += gruesensor.cpp -target.path=$$[QT_INSTALL_EXAMPLES]/qtsensors/grue +target.path=$$[QT_INSTALL_EXAMPLES]/sensors/grue INSTALLS += target |