blob: d470ece2ebd9beaa1c76886009f6a752e4acef71 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
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)
QT += qml sensors
SOURCES += sensors.cpp
DESTDIR = $$QT.sensors.imports/$$TARGETPATH
target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
qmldir.files += $$PWD/qmldir $$PWD/plugin.qmltypes
qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
INSTALLS += target qmldir
OTHER_FILES += \
plugin.json qmldir plugin.qmltypes
|