summaryrefslogtreecommitdiffstats
path: root/examples/sensors/sensor_explorer/import/import.pro
diff options
context:
space:
mode:
Diffstat (limited to 'examples/sensors/sensor_explorer/import/import.pro')
-rw-r--r--examples/sensors/sensor_explorer/import/import.pro14
1 files changed, 5 insertions, 9 deletions
diff --git a/examples/sensors/sensor_explorer/import/import.pro b/examples/sensors/sensor_explorer/import/import.pro
index 7baec429..ec78653e 100644
--- a/examples/sensors/sensor_explorer/import/import.pro
+++ b/examples/sensors/sensor_explorer/import/import.pro
@@ -1,19 +1,15 @@
-TARGET = declarative_explorer
-TARGETPATH = Explorer
+TEMPLATE = lib
+CONFIG += plugin
-include(qsensorsimport.pri)
+TARGET = $$qtLibraryTarget(declarative_explorer)
+TARGETPATH = Explorer
QT += declarative sensors
SOURCES = main.cpp explorer.cpp sensoritem.cpp propertyinfo.cpp
HEADERS = explorer.h sensoritem.h propertyinfo.h
-symbian {
- TARGET.EPOCALLOWDLLDATA = 1
- TARGET.CAPABILITY = ALL -TCB
-}
-
-!isEmpty(EXAMPLES_PREFIX):DESTPATH=$$EXAMPLES_PREFIX/sensor_explorer/imports/Explorer
+!isEmpty(EXAMPLES_PREFIX):DESTPATH=$$EXAMPLES_PREFIX/com.nokia.mt.sensor_explorer/imports/Explorer
else:DESTPATH=$$[QT_INSTALL_IMPORTS]/Explorer
target.path=$$DESTPATH