diff options
author | Bea Lam <bea.lam@nokia.com> | 2010-06-04 15:58:21 +1000 |
---|---|---|
committer | Bea Lam <bea.lam@nokia.com> | 2010-06-11 12:17:08 +1000 |
commit | 026c07a9f4aa2fae151df035a28c42a511de3528 (patch) | |
tree | 9fd8401693717b29dd7117b99377af8fb901e453 /plugins/declarative/sensors/sensors.pro | |
parent | a17e43862053f6b4420ca55d6acb1d39c688bf1e (diff) |
Create declarative sensors plugin that registers all the
sensor and reading classes as QML types. The orientation example now
uses the types registered in the plugin instead of registering its own
types.
Diffstat (limited to 'plugins/declarative/sensors/sensors.pro')
-rw-r--r-- | plugins/declarative/sensors/sensors.pro | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/plugins/declarative/sensors/sensors.pro b/plugins/declarative/sensors/sensors.pro new file mode 100644 index 0000000000..ff38be0251 --- /dev/null +++ b/plugins/declarative/sensors/sensors.pro @@ -0,0 +1,25 @@ +INCLUDEPATH += ../../../src/sensors +INCLUDEPATH += ../../../src/global + +TARGET = declarative_sensors +TARGETPATH = QtMobility/sensors +include(../../qimportbase.pri) +include(../../../common.pri) + +QT += declarative + +#HEADERS += qdeclarativeservice.h + +SOURCES += sensors.cpp + +CONFIG += mobility +MOBILITY += sensors + +DESTDIR = $$[QT_INSTALL_PREFIX]/imports/$$TARGETPATH +target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH + +qmldir.files += $$PWD/qmldir +qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH + +INSTALLS += target qmldir + |