summaryrefslogtreecommitdiffstats
path: root/examples/sensors/maze
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2012-02-24 13:27:57 +1000
committerQt by Nokia <qt-info@nokia.com>2012-02-27 01:45:33 +0100
commit527740c721ee37472146a7302eae3ece58779e93 (patch)
tree6a80300d4667ce4a68608406f7c3cc75358c1368 /examples/sensors/maze
parent1fccbe513dde883cb310b44bf9ce13bc5df51dfa (diff)
Update the examples.
Use .pro files, no .qmlproject files. Remove unused settings.json and notions.json files. Install to EXAMPLES_PREFIX when it is defined. Dest paths match info.json identifiers. No execute bit on non-executable files. Change-Id: Ib09320bd976b8aec7512531ce11ed92f05912dde Reviewed-by: Wolfgang Beck <wolfgang.beck@nokia.com>
Diffstat (limited to 'examples/sensors/maze')
-rw-r--r--[-rwxr-xr-x]examples/sensors/maze/icon.pngbin4693 -> 4693 bytes
-rw-r--r--examples/sensors/maze/maze.pro18
-rw-r--r--examples/sensors/maze/notions.json5
-rw-r--r--examples/sensors/maze/qml.pro20
-rw-r--r--examples/sensors/maze/settings.json7
5 files changed, 16 insertions, 34 deletions
diff --git a/examples/sensors/maze/icon.png b/examples/sensors/maze/icon.png
index 1e7ff8d8..1e7ff8d8 100755..100644
--- a/examples/sensors/maze/icon.png
+++ b/examples/sensors/maze/icon.png
Binary files differ
diff --git a/examples/sensors/maze/maze.pro b/examples/sensors/maze/maze.pro
index a15e39ef..7239eede 100644
--- a/examples/sensors/maze/maze.pro
+++ b/examples/sensors/maze/maze.pro
@@ -1,4 +1,18 @@
-TEMPLATE = subdirs
+TEMPLATE = aux
-SUBDIRS = qml.pro
+app.files = \
+ Congratulation.qml \
+ Maze.qml \
+ components \
+ images \
+ lib.js \
+ LabyrinthSquare.qml \
+ Mouse.qml \
+ icon.png \
+ info.json
+
+!isEmpty(EXAMPLES_PREFIX) {
+ app.path = $$EXAMPLES_PREFIX/com.nokia.mt.maze
+ INSTALLS = app
+}
diff --git a/examples/sensors/maze/notions.json b/examples/sensors/maze/notions.json
deleted file mode 100644
index 95d05191..00000000
--- a/examples/sensors/maze/notions.json
+++ /dev/null
@@ -1,5 +0,0 @@
-{
- "notion-file-version": 1,
- "capabilities": [
- ]
-}
diff --git a/examples/sensors/maze/qml.pro b/examples/sensors/maze/qml.pro
deleted file mode 100644
index 2e6dbc23..00000000
--- a/examples/sensors/maze/qml.pro
+++ /dev/null
@@ -1,20 +0,0 @@
-TEMPLATE = aux
-
-app.files = \
- info.json \
- notions.json \
- settings.json \
- Congratulation.qml \
- LabyrinthSquare.qml \
- lib.js \
- Maze.qml \
- Mouse.qml \
- icon.png \
- components \
- images
-
-!isEmpty(EXAMPLES_PREFIX) {
- TARGET_DIR = $$EXAMPLES_PREFIX/com.nokia.mt.maze
- app.path = $$TARGET_DIR
- INSTALLS += app
-}
diff --git a/examples/sensors/maze/settings.json b/examples/sensors/maze/settings.json
deleted file mode 100644
index 5300076a..00000000
--- a/examples/sensors/maze/settings.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
- "version": "1.0.0",
- "identifier": "com.nokia.mt.maze",
- "label": "Labyrinth game using TiltSensor",
- "settings": [
- ]
-}