diff options
author | Lincoln Ramsay <lincoln.ramsay@nokia.com> | 2012-03-28 16:55:14 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-03-28 10:35:22 +0200 |
commit | 2646629ea49cf808220ef54c77df613cc9fea474 (patch) | |
tree | 08920a302f69fc25f6ee23f3e5f84e9cfd32c8a6 /src/imports/sensors/sensors.pro | |
parent | 417054f50c257f6da0cf0f08a00c909b75aa03e0 (diff) |
Add .qmltypes files for Creator.
Only doing this for the actual QML APIs, not the examples ones.
Can run make rebuild_qmltypes from a build directory to rebuild the
.qmltypes files automatically.
Change-Id: Ie1253646dde25861673c303b015a9ba9a4f0fbe3
Reviewed-by: Lorn Potter <lorn.potter@nokia.com>
Diffstat (limited to 'src/imports/sensors/sensors.pro')
-rw-r--r-- | src/imports/sensors/sensors.pro | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/imports/sensors/sensors.pro b/src/imports/sensors/sensors.pro index 8f60d6c8..72ebb871 100644 --- a/src/imports/sensors/sensors.pro +++ b/src/imports/sensors/sensors.pro @@ -1,5 +1,8 @@ TARGET = declarative_sensors TARGETPATH = QtMobility/sensors +IMPORT_NAME = $$TARGETPATH +IMPORT_NAME~=s,/,.,g +IMPORT_VERSION = 1.3 # Doesn't matter, as long as it's a valid version?! include(qsensorsimport.pri) @@ -10,7 +13,7 @@ SOURCES += sensors.cpp DESTDIR = $$QT.sensors.imports/$$TARGETPATH target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH -qmldir.files += $$PWD/qmldir +qmldir.files += $$PWD/qmldir $$PWD/plugin.qmltypes qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH INSTALLS += target qmldir @@ -29,5 +32,4 @@ symbian { } OTHER_FILES += \ - plugin.json - + plugin.json qmldir plugin.qmltypes |