summaryrefslogtreecommitdiffstats
path: root/examples/sensors/grue/import/import.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors/grue/import/import.pro')
-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