summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensor_explorer
diff options
context:
space:
mode:
authorLorn Potter <lorn.potter@nokia.com>2012-08-16 13:32:00 +1000
committerQt by Nokia <qt-info@nokia.com>2012-08-16 07:52:46 +0200
commit7e5115f55335b2868ec3b560440f2d28863151eb (patch)
tree294008f61848c2b367bb1534923846320f97fbf7 /examples/sensors/sensor_explorer
parentbc5c798cf56d8f808aa758d45924fe21573f2e44 (diff)
Fix QTBUG-26860 - install examples to qtsensors directory
Change-Id: Iab2407798616ed08ce7789020fe47b00e226d62d Reviewed-by: Alex <ablasche@gmail.com>
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