From 52c831db165f5068826dddef4d41427a98a42dfd Mon Sep 17 00:00:00 2001 From: Topi Reinio Date: Tue, 13 Aug 2013 14:40:13 +0200 Subject: 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 Reviewed-by: Lorn Potter --- examples/sensors/grue/qml.pro | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/sensors/grue/qml.pro') diff --git a/examples/sensors/grue/qml.pro b/examples/sensors/grue/qml.pro index d7444ca..ff0963f 100644 --- a/examples/sensors/grue/qml.pro +++ b/examples/sensors/grue/qml.pro @@ -1,6 +1,7 @@ TEMPLATE = app TARGET = grue QT += quick + SOURCES = main.cpp RESOURCES += \ @@ -11,6 +12,6 @@ app.files = \ $$files(*.qml) \ grue.png -target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/grue -app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/grue +target.path = $$[QT_INSTALL_EXAMPLES]/sensors/grue +app.path = $$[QT_INSTALL_EXAMPLES]/sensors/grue INSTALLS += target app -- cgit v1.2.1