blob: f42ac2deee86856520f7612d3a5e9ab48d0222d1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
TARGET = qtsensors_dummy
QT += sensors core
load(qt_plugin)
DESTDIR = $$QT.sensors.plugins/sensors
HEADERS += dummycommon.h\
dummyaccelerometer.h\
dummylightsensor.h
SOURCES += dummycommon.cpp\
dummyaccelerometer.cpp\
dummylightsensor.cpp\
main.cpp
OTHER_FILES = plugin.json
unix:!mac:!qnx:LIBS+=-lrt
target.path += $$[QT_INSTALL_PLUGINS]/sensors
INSTALLS += target
|