summaryrefslogtreecommitdiffstats
path: root/examples/bluetooth/lowenergyscanner/lowenergyscanner.pro
blob: 1e798a55cfc4413d9facd948f56a28f4e3128989 (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
41
42
43
44
45
# Copyright (C) 2023 The Qt Company Ltd.
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause

TEMPLATE = app
TARGET = lowenergyscanner

QT += quick bluetooth

CONFIG += qmltypes
QML_IMPORT_NAME = Scanner
QML_IMPORT_MAJOR_VERSION = 1

SOURCES += main.cpp \
    device.cpp \
    deviceinfo.cpp \
    serviceinfo.cpp \
    characteristicinfo.cpp

HEADERS += \
    device.h \
    deviceinfo.h \
    serviceinfo.h \
    characteristicinfo.h

qml_resources.files = \
    qmldir \
    Characteristics.qml \
    Devices.qml \
    Dialog.qml \
    Header.qml \
    Label.qml \
    Main.qml \
    Menu.qml \
    Services.qml \
    assets/busy_dark.png

qml_resources.prefix = /qt/qml/Scanner

RESOURCES = qml_resources

ios: QMAKE_INFO_PLIST = ../shared/Info.qmake.ios.plist
macos: QMAKE_INFO_PLIST = ../shared/Info.qmake.macos.plist

target.path = $$[QT_INSTALL_EXAMPLES]/bluetooth/lowenergyscanner
INSTALLS += target