diff options
author | Lorn Potter <lorn.potter@nokia.com> | 2012-08-16 13:32:00 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-08-16 07:52:46 +0200 |
commit | 7e5115f55335b2868ec3b560440f2d28863151eb (patch) | |
tree | 294008f61848c2b367bb1534923846320f97fbf7 /examples/sensors/sensor_explorer | |
parent | bc5c798cf56d8f808aa758d45924fe21573f2e44 (diff) | |
download | qtsensors-7e5115f55335b2868ec3b560440f2d28863151eb.tar.gz |
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.pro | 5 | ||||
-rw-r--r-- | examples/sensors/sensor_explorer/qml.pro | 4 |
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 1f97b67..1248b14 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 92edcc9..e5b081f 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 |