diff options
author | Andy Shaw <andy.shaw@digia.com> | 2014-02-28 13:54:18 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-03-10 22:44:39 +0100 |
commit | f89b0fcffbb7907210d4d85d1245dc59f270c251 (patch) | |
tree | 70e164753c2b14266effc9e16c69ec181c78e62d /examples/sensors | |
parent | 96771618f2413de849101b15344e1bb1fd1f7e7f (diff) | |
download | qtsensors-f89b0fcffbb7907210d4d85d1245dc59f270c251.tar.gz |
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/sensors')
18 files changed, 25 insertions, 43 deletions
diff --git a/examples/sensors/accelbubble/accelbubble.pro b/examples/sensors/accelbubble/accelbubble.pro index d0378bb..b183bf4 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 Binary files differdeleted file mode 100644 index d74f111..0000000 --- a/examples/sensors/accelbubble/icon.png +++ /dev/null diff --git a/examples/sensors/cubehouse/cubehouse.pro b/examples/sensors/cubehouse/cubehouse.pro index 9f54308..18191d3 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 Binary files differdeleted file mode 100644 index 193ad56..0000000 --- a/examples/sensors/cubehouse/icon.png +++ /dev/null diff --git a/examples/sensors/grue/icon.png b/examples/sensors/grue/icon.png Binary files differdeleted file mode 100644 index f3f038c..0000000 --- a/examples/sensors/grue/icon.png +++ /dev/null diff --git a/examples/sensors/grue/qml.pro b/examples/sensors/grue/qml.pro index 191098e..11d2c1d 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 Binary files differdeleted file mode 100644 index 1e7ff8d..0000000 --- a/examples/sensors/maze/icon.png +++ /dev/null diff --git a/examples/sensors/maze/maze.pro b/examples/sensors/maze/maze.pro index b57c0a9..e4c4d86 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 Binary files differdeleted file mode 100644 index d3243c5..0000000 --- a/examples/sensors/qmlqtsensors/icon.png +++ /dev/null diff --git a/examples/sensors/qmlqtsensors/qmlqtsensors.pro b/examples/sensors/qmlqtsensors/qmlqtsensors.pro index b63bd6a..6add64d 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 Binary files differdeleted file mode 100644 index c445bd7..0000000 --- a/examples/sensors/qmlsensorgestures/icon.png +++ /dev/null diff --git a/examples/sensors/qmlsensorgestures/qml.pro b/examples/sensors/qmlsensorgestures/qml.pro index 9bcba7f..6191f32 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 Binary files differdeleted file mode 100644 index c48b609..0000000 --- a/examples/sensors/sensor_explorer/icon.png +++ /dev/null diff --git a/examples/sensors/sensor_explorer/qml.pro b/examples/sensors/sensor_explorer/qml.pro index e2324a8..1407d5b 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 Binary files differdeleted file mode 100644 index 707d5c4..0000000 --- a/examples/sensors/sensorgestures/gesture.png +++ /dev/null diff --git a/examples/sensors/sensorgestures/sensorgestures.pro b/examples/sensors/sensorgestures/sensorgestures.pro index 38a471d..a60728e 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 Binary files differdeleted file mode 100644 index d8f2154..0000000 --- a/examples/sensors/shakeit/icon.png +++ /dev/null diff --git a/examples/sensors/shakeit/shakeit.pro b/examples/sensors/shakeit/shakeit.pro index cb36f73..5e07f06 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 |