From 81a9909031b5f63f2dd6442513ec1c41fb3161bf Mon Sep 17 00:00:00 2001 From: Wolfgang Beck Date: Fri, 13 Jan 2012 13:08:36 +1000 Subject: Make shakeit example ready for the SDK Doc Team Change-Id: Ic12a60e546b2740ddd7bfb11ee5220ab792e6a0f Sanity-Review: Qt Sanity Bot Reviewed-by: Lincoln Ramsay --- examples/sensors/shakeit/qml.pro | 4 ---- examples/sensors/shakeit/shakeit.pro | 3 --- examples/sensors/shakeit/shakeit.qdoc | 2 ++ examples/sensors/shakeit/shakeit.qmlproject | 18 ++++++++++++++++++ 4 files changed, 20 insertions(+), 7 deletions(-) delete mode 100644 examples/sensors/shakeit/qml.pro delete mode 100644 examples/sensors/shakeit/shakeit.pro create mode 100644 examples/sensors/shakeit/shakeit.qmlproject (limited to 'examples/sensors/shakeit') diff --git a/examples/sensors/shakeit/qml.pro b/examples/sensors/shakeit/qml.pro deleted file mode 100644 index 32048333..00000000 --- a/examples/sensors/shakeit/qml.pro +++ /dev/null @@ -1,4 +0,0 @@ -TEMPLATE = aux - -OTHERS += \ - shakeit.qdoc diff --git a/examples/sensors/shakeit/shakeit.pro b/examples/sensors/shakeit/shakeit.pro deleted file mode 100644 index 6dc685b9..00000000 --- a/examples/sensors/shakeit/shakeit.pro +++ /dev/null @@ -1,3 +0,0 @@ -TEMPLATE = subdirs - -SUBDIRS = qml.pro diff --git a/examples/sensors/shakeit/shakeit.qdoc b/examples/sensors/shakeit/shakeit.qdoc index f7f4b31b..91c80d20 100644 --- a/examples/sensors/shakeit/shakeit.qdoc +++ b/examples/sensors/shakeit/shakeit.qdoc @@ -28,8 +28,10 @@ /*! \example sensors/shakeit \title ShakeIt! QML Sensor Gestures Example + \ingroup qtsensors-examples \brief The sensor gesture example demonstrates the steps for creating a QML application that uses sensor gestures and the included shake sensor. + \image shakeit.jpg \section1 Overview Writing a QML application that uses the Shake QML sensorgestures element diff --git a/examples/sensors/shakeit/shakeit.qmlproject b/examples/sensors/shakeit/shakeit.qmlproject new file mode 100644 index 00000000..b3ad6364 --- /dev/null +++ b/examples/sensors/shakeit/shakeit.qmlproject @@ -0,0 +1,18 @@ +import QmlProject 1.1 + +Project { + mainFile: "shakeit.qml" + + /* Include .qml, .js, and image files from current directory and subdirectories */ + QmlFiles { + directory: "." + } + JavaScriptFiles { + directory: "." + } + ImageFiles { + directory: "./images" + } + /* List of plugin directories passed to QML runtime */ + // importPaths: [ "../exampleplugin" ] +} -- cgit v1.2.3