summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorAndy Shaw <andy.shaw@digia.com>2014-02-28 13:54:18 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2014-03-10 22:44:39 +0100
commitf89b0fcffbb7907210d4d85d1245dc59f270c251 (patch)
tree70e164753c2b14266effc9e16c69ec181c78e62d /examples
parent96771618f2413de849101b15344e1bb1fd1f7e7f (diff)
Fix the examples so they can be deployed on Android
Change-Id: I8d3b0c84091cf7743164c083318e0a115e948d1c Reviewed-by: Lorn Potter <lorn.potter@jollamobile.com> Reviewed-by: Topi Reiniƶ <topi.reinio@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/sensors/accelbubble/accelbubble.pro8
-rw-r--r--examples/sensors/accelbubble/icon.pngbin2034 -> 0 bytes
-rw-r--r--examples/sensors/cubehouse/cubehouse.pro8
-rw-r--r--examples/sensors/cubehouse/icon.pngbin7607 -> 0 bytes
-rw-r--r--examples/sensors/grue/icon.pngbin7951 -> 0 bytes
-rw-r--r--examples/sensors/grue/qml.pro6
-rw-r--r--examples/sensors/maze/icon.pngbin4693 -> 0 bytes
-rw-r--r--examples/sensors/maze/maze.pro8
-rw-r--r--examples/sensors/qmlqtsensors/icon.pngbin2122 -> 0 bytes
-rw-r--r--examples/sensors/qmlqtsensors/qmlqtsensors.pro8
-rw-r--r--examples/sensors/qmlsensorgestures/icon.pngbin2298 -> 0 bytes
-rw-r--r--examples/sensors/qmlsensorgestures/qml.pro10
-rw-r--r--examples/sensors/sensor_explorer/icon.pngbin2205 -> 0 bytes
-rw-r--r--examples/sensors/sensor_explorer/qml.pro8
-rw-r--r--examples/sensors/sensorgestures/gesture.pngbin3400 -> 0 bytes
-rw-r--r--examples/sensors/sensorgestures/sensorgestures.pro6
-rw-r--r--examples/sensors/shakeit/icon.pngbin10695 -> 0 bytes
-rw-r--r--examples/sensors/shakeit/shakeit.pro6
18 files changed, 25 insertions, 43 deletions
diff --git a/examples/sensors/accelbubble/accelbubble.pro b/examples/sensors/accelbubble/accelbubble.pro
index d0378bb3..b183bf41 100644
--- a/examples/sensors/accelbubble/accelbubble.pro
+++ b/examples/sensors/accelbubble/accelbubble.pro
@@ -6,12 +6,10 @@ SOURCES = main.cpp
RESOURCES += \
accelbubble.qrc
-app.files = \
+OTHER_FILES = \
$$files(*.qml) \
- icon.png \
content \
images
-target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/accelbubble
-app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/accelbubble
-INSTALLS += target app
+target.path = $$[QT_INSTALL_EXAMPLES]/sensors/accelbubble
+INSTALLS += target
diff --git a/examples/sensors/accelbubble/icon.png b/examples/sensors/accelbubble/icon.png
deleted file mode 100644
index d74f1111..00000000
--- a/examples/sensors/accelbubble/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/cubehouse/cubehouse.pro b/examples/sensors/cubehouse/cubehouse.pro
index 9f543082..18191d38 100644
--- a/examples/sensors/cubehouse/cubehouse.pro
+++ b/examples/sensors/cubehouse/cubehouse.pro
@@ -3,15 +3,13 @@ TARGET = cubehouse
QT += quick
SOURCES = main.cpp
-app.files = \
+OTHER_FILES = \
$$files(*.qml) \
- icon.png \
content \
mesh
-target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/cubehouse
-app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/cubehouse
-INSTALLS += target app
+target.path = $$[QT_INSTALL_EXAMPLES]/sensors/cubehouse
+INSTALLS += target
RESOURCES += \
cubehouse.qrc
diff --git a/examples/sensors/cubehouse/icon.png b/examples/sensors/cubehouse/icon.png
deleted file mode 100644
index 193ad561..00000000
--- a/examples/sensors/cubehouse/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/grue/icon.png b/examples/sensors/grue/icon.png
deleted file mode 100644
index f3f038c7..00000000
--- a/examples/sensors/grue/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/grue/qml.pro b/examples/sensors/grue/qml.pro
index 191098ec..11d2c1de 100644
--- a/examples/sensors/grue/qml.pro
+++ b/examples/sensors/grue/qml.pro
@@ -10,11 +10,9 @@ SOURCES = main.cpp
RESOURCES += \
qml.qrc
-app.files = \
- icon.png \
+OTHER_FILES = \
$$files(*.qml) \
grue.png
target.path = $$[QT_INSTALL_EXAMPLES]/sensors/grue
-app.path = $$[QT_INSTALL_EXAMPLES]/sensors/grue
-INSTALLS += target app
+INSTALLS += target
diff --git a/examples/sensors/maze/icon.png b/examples/sensors/maze/icon.png
deleted file mode 100644
index 1e7ff8d8..00000000
--- a/examples/sensors/maze/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/maze/maze.pro b/examples/sensors/maze/maze.pro
index b57c0a98..e4c4d866 100644
--- a/examples/sensors/maze/maze.pro
+++ b/examples/sensors/maze/maze.pro
@@ -3,16 +3,14 @@ TARGET = maze
QT += quick
SOURCES = main.cpp
-app.files = \
+OTHER_FILES = \
components \
$$files(*.qml) \
$$files(*.js) \
- icon.png \
content
-target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/maze
-app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/maze
-INSTALLS += target app
+target.path = $$[QT_INSTALL_EXAMPLES]/sensors/maze
+INSTALLS += target
RESOURCES += \
maze.qrc
diff --git a/examples/sensors/qmlqtsensors/icon.png b/examples/sensors/qmlqtsensors/icon.png
deleted file mode 100644
index d3243c5b..00000000
--- a/examples/sensors/qmlqtsensors/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/qmlqtsensors/qmlqtsensors.pro b/examples/sensors/qmlqtsensors/qmlqtsensors.pro
index b63bd6ac..6add64dc 100644
--- a/examples/sensors/qmlqtsensors/qmlqtsensors.pro
+++ b/examples/sensors/qmlqtsensors/qmlqtsensors.pro
@@ -6,11 +6,9 @@ SOURCES = main.cpp
RESOURCES += \
qmlqtsensors.qrc
-app.files = \
+OTHER_FILES = \
$$files(*.qml) \
- icon.png \
components
-target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/qmlqtsensors
-app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/qmlqtsensors
-INSTALLS += target app
+target.path = $$[QT_INSTALL_EXAMPLES]/sensors/qmlqtsensors
+INSTALLS += target
diff --git a/examples/sensors/qmlsensorgestures/icon.png b/examples/sensors/qmlsensorgestures/icon.png
deleted file mode 100644
index c445bd7f..00000000
--- a/examples/sensors/qmlsensorgestures/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/qmlsensorgestures/qml.pro b/examples/sensors/qmlsensorgestures/qml.pro
index 9bcba7fd..6191f322 100644
--- a/examples/sensors/qmlsensorgestures/qml.pro
+++ b/examples/sensors/qmlsensorgestures/qml.pro
@@ -3,13 +3,11 @@ TARGET = qmlsensorgestures
QT += quick
SOURCES = main.cpp
-app.files = \
- $$files(*.qml) \
- icon.png
+OTHER_FILES = \
+ $$files(*.qml)
-target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/qmlsensorgestures
-app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/qmlsensorgestures
-INSTALLS += target app
+target.path = $$[QT_INSTALL_EXAMPLES]/sensors/qmlsensorgestures
+INSTALLS += target
RESOURCES += \
qml.qrc
diff --git a/examples/sensors/sensor_explorer/icon.png b/examples/sensors/sensor_explorer/icon.png
deleted file mode 100644
index c48b6095..00000000
--- a/examples/sensors/sensor_explorer/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/sensor_explorer/qml.pro b/examples/sensors/sensor_explorer/qml.pro
index e2324a84..1407d5b2 100644
--- a/examples/sensors/sensor_explorer/qml.pro
+++ b/examples/sensors/sensor_explorer/qml.pro
@@ -11,13 +11,11 @@ win32: DESTDIR = ./
SOURCES = main.cpp
-app.files = \
- sensor_explorer.qml \
- icon.png
+OTHER_FILES = \
+ sensor_explorer.qml
target.path = $$[QT_INSTALL_EXAMPLES]/sensors/sensor_explorer
-app.path = $$[QT_INSTALL_EXAMPLES]/sensors/sensor_explorer
-INSTALLS += target app
+INSTALLS += target
RESOURCES += \
qml.qrc
diff --git a/examples/sensors/sensorgestures/gesture.png b/examples/sensors/sensorgestures/gesture.png
deleted file mode 100644
index 707d5c4e..00000000
--- a/examples/sensors/sensorgestures/gesture.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/sensorgestures/sensorgestures.pro b/examples/sensors/sensorgestures/sensorgestures.pro
index 38a471d6..a60728e7 100644
--- a/examples/sensors/sensorgestures/sensorgestures.pro
+++ b/examples/sensors/sensorgestures/sensorgestures.pro
@@ -9,7 +9,5 @@ HEADERS += mainwindow.h
FORMS += mainwindow.ui
-target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/sensorgestures
-app.files = gesture.png
-app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/sensorgestures
-INSTALLS += target app
+target.path = $$[QT_INSTALL_EXAMPLES]/sensors/sensorgestures
+INSTALLS += target
diff --git a/examples/sensors/shakeit/icon.png b/examples/sensors/shakeit/icon.png
deleted file mode 100644
index d8f21546..00000000
--- a/examples/sensors/shakeit/icon.png
+++ /dev/null
Binary files differ
diff --git a/examples/sensors/shakeit/shakeit.pro b/examples/sensors/shakeit/shakeit.pro
index cb36f739..5e07f062 100644
--- a/examples/sensors/shakeit/shakeit.pro
+++ b/examples/sensors/shakeit/shakeit.pro
@@ -6,12 +6,10 @@ SOURCES = main.cpp
RESOURCES += \
shakeit.qrc
-app.files = \
+OTHER_FILES = \
$$files(*.qml) \
- icon.png \
audio \
content
target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/shakeit
-app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/shakeit
-INSTALLS += target app
+INSTALLS += target