summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--examples/sensors/accelbubble/accelbubble.pro2
-rw-r--r--examples/sensors/cubehouse/cubehouse.pro2
-rw-r--r--examples/sensors/grue/import/import.pro2
-rw-r--r--examples/sensors/grue/qml_app/qml_app.pro2
-rw-r--r--examples/sensors/maze/maze.pro2
-rw-r--r--examples/sensors/qmlqtsensors/qmlqtsensors.pro2
-rw-r--r--examples/sensors/qmlsensorgestures/qml_app/qml_app.pro2
-rw-r--r--examples/sensors/sensor_explorer/import/import.pro2
-rw-r--r--examples/sensors/sensor_explorer/qml_app/qml_app.pro2
-rw-r--r--examples/sensors/shakeit/shakeit.pro2
10 files changed, 20 insertions, 0 deletions
diff --git a/examples/sensors/accelbubble/accelbubble.pro b/examples/sensors/accelbubble/accelbubble.pro
index 8d7e176..feeec68 100644
--- a/examples/sensors/accelbubble/accelbubble.pro
+++ b/examples/sensors/accelbubble/accelbubble.pro
@@ -6,6 +6,8 @@ app.files = \
icon.png \
images
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.accelbubble
INSTALLS = app
diff --git a/examples/sensors/cubehouse/cubehouse.pro b/examples/sensors/cubehouse/cubehouse.pro
index c7847f3..075ec4e 100644
--- a/examples/sensors/cubehouse/cubehouse.pro
+++ b/examples/sensors/cubehouse/cubehouse.pro
@@ -10,6 +10,8 @@ app.files = \
info.json \
mesh
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.cubehouse
INSTALLS = app
diff --git a/examples/sensors/grue/import/import.pro b/examples/sensors/grue/import/import.pro
index 98277dd..37d2544 100644
--- a/examples/sensors/grue/import/import.pro
+++ b/examples/sensors/grue/import/import.pro
@@ -11,6 +11,8 @@ LIBS += -L$$OUT_PWD/../lib -lgruesensor
SOURCES = main.cpp
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX):DESTPATH=$$EXAMPLES_PREFIX/com.nokia.mt.grue/imports/Grue
else:DESTPATH=$$[QT_INSTALL_IMPORTS]/Grue
diff --git a/examples/sensors/grue/qml_app/qml_app.pro b/examples/sensors/grue/qml_app/qml_app.pro
index 47c6c14..42f830b 100644
--- a/examples/sensors/grue/qml_app/qml_app.pro
+++ b/examples/sensors/grue/qml_app/qml_app.pro
@@ -5,6 +5,8 @@ app.files = \
info.json \
main.qml
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.grue
INSTALLS = app
diff --git a/examples/sensors/maze/maze.pro b/examples/sensors/maze/maze.pro
index 7239eed..cb3b9aa 100644
--- a/examples/sensors/maze/maze.pro
+++ b/examples/sensors/maze/maze.pro
@@ -11,6 +11,8 @@ app.files = \
icon.png \
info.json
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.maze
INSTALLS = app
diff --git a/examples/sensors/qmlqtsensors/qmlqtsensors.pro b/examples/sensors/qmlqtsensors/qmlqtsensors.pro
index 84f38f6..9ecebd9 100644
--- a/examples/sensors/qmlqtsensors/qmlqtsensors.pro
+++ b/examples/sensors/qmlqtsensors/qmlqtsensors.pro
@@ -6,6 +6,8 @@ app.files = \
icon.png \
components
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.qmlqtsensors
INSTALLS = app
diff --git a/examples/sensors/qmlsensorgestures/qml_app/qml_app.pro b/examples/sensors/qmlsensorgestures/qml_app/qml_app.pro
index f7741f4..6ad9a8b 100644
--- a/examples/sensors/qmlsensorgestures/qml_app/qml_app.pro
+++ b/examples/sensors/qmlsensorgestures/qml_app/qml_app.pro
@@ -9,6 +9,8 @@ app.files = \
GestureView.qml \
icon.png
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.qmlsensorgestures
INSTALLS = app
diff --git a/examples/sensors/sensor_explorer/import/import.pro b/examples/sensors/sensor_explorer/import/import.pro
index ec78653..f852e58 100644
--- a/examples/sensors/sensor_explorer/import/import.pro
+++ b/examples/sensors/sensor_explorer/import/import.pro
@@ -9,6 +9,8 @@ QT += declarative sensors
SOURCES = main.cpp explorer.cpp sensoritem.cpp propertyinfo.cpp
HEADERS = explorer.h sensoritem.h propertyinfo.h
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX):DESTPATH=$$EXAMPLES_PREFIX/com.nokia.mt.sensor_explorer/imports/Explorer
else:DESTPATH=$$[QT_INSTALL_IMPORTS]/Explorer
diff --git a/examples/sensors/sensor_explorer/qml_app/qml_app.pro b/examples/sensors/sensor_explorer/qml_app/qml_app.pro
index 2eb78ce..ded6634 100644
--- a/examples/sensors/sensor_explorer/qml_app/qml_app.pro
+++ b/examples/sensors/sensor_explorer/qml_app/qml_app.pro
@@ -9,6 +9,8 @@ app.files = \
icon.png \
main.qml
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.sensor_explorer
INSTALLS = app
diff --git a/examples/sensors/shakeit/shakeit.pro b/examples/sensors/shakeit/shakeit.pro
index 65660e3..5c71541 100644
--- a/examples/sensors/shakeit/shakeit.pro
+++ b/examples/sensors/shakeit/shakeit.pro
@@ -7,6 +7,8 @@ app.files = \
audio \
images
+MT_SYSROOT=$$(MT_SYSROOT)
+!isEmpty(MT_SYSROOT):EXAMPLES_PREFIX=/opt/mt/applications
!isEmpty(EXAMPLES_PREFIX) {
app.path = $$EXAMPLES_PREFIX/com.nokia.mt.shakeit
INSTALLS = app