From 8b618a4bcc045c9298c219cad9b88902616134a3 Mon Sep 17 00:00:00 2001 From: Lincoln Ramsay Date: Tue, 23 Aug 2011 11:41:08 +1000 Subject: Add a QML plugin that uses QtmSensors. This will provide legacy import capability. Change-Id: I68e573b7eca10bffec16a24f4b76a40c64b9a7e0 Reviewed-on: http://codereview.qt.nokia.com/3351 Reviewed-by: Qt Sanity Bot Reviewed-by: Zsolt Simon --- src/imports/qtmsensors/qtmsensors.pro | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/imports/qtmsensors/qtmsensors.pro (limited to 'src/imports/qtmsensors/qtmsensors.pro') diff --git a/src/imports/qtmsensors/qtmsensors.pro b/src/imports/qtmsensors/qtmsensors.pro new file mode 100644 index 00000000..d09204e8 --- /dev/null +++ b/src/imports/qtmsensors/qtmsensors.pro @@ -0,0 +1,29 @@ +TARGET = declarative_qtmsensors +TARGETPATH = QtMobility/sensors + +include(qsensorsimport.pri) + +QT = declarative qtmsensors + +SOURCES += sensors.cpp + +DESTDIR = $$QT.sensors.imports/$$TARGETPATH +target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH + +qmldir.files += $$PWD/qmldir +qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH + +INSTALLS += target qmldir + +symbian { + # In Symbian, a library should enjoy _largest_ possible capability set. + TARGET.CAPABILITY = ALL -TCB + # Allow writable DLL data + TARGET.EPOCALLOWDLLDATA = 1 + # Target UID, makes every Symbian app unique + TARGET.UID3 = 0x20021324 + # Specifies what files shall be deployed: the plugin itself and the qmldir file. + importFiles.sources = $$DESTDIR/declarative_sensors$${QT_LIBINFIX}.dll qmldir + importFiles.path = $$QT_IMPORTS_BASE_DIR/$$TARGETPATH + DEPLOYMENT = importFiles + } -- cgit v1.2.3