summaryrefslogtreecommitdiffstats
path: root/src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro
blob: 1ffc6c57a47f59aaf931ed300b787b1ce0c07cfc (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
TEMPLATE = lib
CONFIG += plugin
QT += qml bluetooth
uri = com.theqtcompany.settings.bluetooth

TARGET  = btsettingsplugin

include(bluez/bluez.pri)

HEADERS = \
    bluetoothdevice.h \
    discoverymodel.h

SOURCES += plugin.cpp \
    bluetoothdevice.cpp \
    discoverymodel.cpp


pluginfiles.files += \
    qmldir \


installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)

target.path = $$installPath
pluginfiles.path += $$installPath
INSTALLS += target pluginfiles


RESOURCES += \
    icons.qrc \
    qml.qrc