summaryrefslogtreecommitdiffstats
path: root/src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro')
-rw-r--r--src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro b/src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro
new file mode 100644
index 0000000..5ca0add
--- /dev/null
+++ b/src/qtdevicesettings/bluetoothsettingsplugin/bluetoothsettingsplugin.pro
@@ -0,0 +1,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
+