blob: 6bce739ce02b8f3a1820571f3adceedc982d1444 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
TEMPLATE = app
TARGET = grue_app
QT += qml quick sensors
# Avoid going to release/debug subdirectory
win32: DESTDIR = ./
SOURCES = main.cpp \
qmlgruesensor.cpp
HEADERS += \
qmlgruesensor.h
grue_plugin_base_dir = .
include(use_grue_static_plugin.pri)
CONFIG += qmltypes
QML_IMPORT_NAME = QMLGrueSensor
QML_IMPORT_MAJOR_VERSION = 1
RESOURCES += \
qml.qrc
OTHER_FILES = \
$$files(*.qml) \
grue.png
target.path = $$[QT_INSTALL_EXAMPLES]/sensors/grue
INSTALLS += target
EXAMPLE_FILES += \
grue.xcf \
icon.xcf
android{
CONFIG += file_copies
COPIES += androidPluginCopy
androidPluginCopy.files = $$OUT_PWD/sensors/libplugins_sensors_qtsensors_grue_armeabi-v7a.so
androidPluginCopy.path = android-build/libs/armeabi-v7a
}
|