summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue/import
diff options
context:
space:
mode:
authorLincoln Ramsay <lincoln.ramsay@nokia.com>2011-10-07 16:35:46 +1000
committerLincoln Ramsay <lincoln.ramsay@nokia.com>2011-10-10 09:25:31 +1000
commit10103b5649a8e0a0450f6de14635f0f07f52485d (patch)
treeaea235cc94b15c3a2a17f327f5526451aa9fa8ab /examples/sensors/grue/import
parenta53bcc52d0092b523781e8e731de3e476dc4d4b0 (diff)
Grue Sensor installation and device testing.
Some installation things needed to be tweaked. Appearance on devices needed to be updated. Change-Id: I62ab94212ff1ee8b3778f4492e60b33b29d68927 Reviewed-on: http://codereview.qt-project.org/6225 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Lincoln Ramsay <lincoln.ramsay@nokia.com>
Diffstat (limited to 'examples/sensors/grue/import')
-rw-r--r--examples/sensors/grue/import/import.pro13
1 files changed, 10 insertions, 3 deletions
diff --git a/examples/sensors/grue/import/import.pro b/examples/sensors/grue/import/import.pro
index fc163b61..7a31d3e6 100644
--- a/examples/sensors/grue/import/import.pro
+++ b/examples/sensors/grue/import/import.pro
@@ -5,10 +5,8 @@ include(qsensorsimport.pri)
QT = declarative sensors
-DESTDIR = $$QT.sensors.imports/$$TARGETPATH
-
INCLUDEPATH += $$PWD/../lib
-LIBS += -L$$OUT_PWD/../lib -lgruesensor
+LIBS += -L$$PWD/../lib -lgruesensor
SOURCES = main.cpp
@@ -17,3 +15,12 @@ symbian {
TARGET.CAPABILITY = ALL -TCB
}
+!isEmpty(EXAMPLES_PREFIX):DESTPATH=$$EXAMPLES_PREFIX/grue/imports/Grue
+else:DESTPATH=$$[QT_INSTALL_IMPORTS]/Grue
+
+target.path=$$DESTPATH
+INSTALLS += target
+
+qmldir.files=$$PWD/qmldir
+qmldir.path=$$DESTPATH
+INSTALLS += qmldir