summaryrefslogtreecommitdiffstats
path: root/src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro
blob: 5ca0add2d63890ab2e0f11a49a3189d593097d53 (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
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