summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensor_explorer
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors/sensor_explorer')
-rw-r--r--examples/sensors/sensor_explorer/import/import.pro5
-rw-r--r--examples/sensors/sensor_explorer/qml.pro4
2 files changed, 3 insertions, 6 deletions
diff --git a/examples/sensors/sensor_explorer/import/import.pro b/examples/sensors/sensor_explorer/import/import.pro
index 1f97b67e..1248b14a 100644
--- a/examples/sensors/sensor_explorer/import/import.pro
+++ b/examples/sensors/sensor_explorer/import/import.pro
@@ -9,10 +9,7 @@ QT += qml 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
+DESTPATH=$$[QT_INSTALL_IMPORTS]/Explorer
target.path=$$DESTPATH
INSTALLS += target
diff --git a/examples/sensors/sensor_explorer/qml.pro b/examples/sensors/sensor_explorer/qml.pro
index 92edcc96..e5b081f9 100644
--- a/examples/sensors/sensor_explorer/qml.pro
+++ b/examples/sensors/sensor_explorer/qml.pro
@@ -9,6 +9,6 @@ app.files = \
components \
content
-target.path = $$[QT_INSTALL_EXAMPLES]/sensors/sensor_explorer
-app.path = $$[QT_INSTALL_EXAMPLES]/sensors/sensor_explorer
+target.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/sensor_explorer
+app.path = $$[QT_INSTALL_EXAMPLES]/qtsensors/sensor_explorer
INSTALLS += target app