summaryrefslogtreecommitdiffstats
path: root/src/imports/bluetoothsettings/bluetoothsettings.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/bluetoothsettings/bluetoothsettings.pro')
-rw-r--r--src/imports/bluetoothsettings/bluetoothsettings.pro15
1 files changed, 4 insertions, 11 deletions
diff --git a/src/imports/bluetoothsettings/bluetoothsettings.pro b/src/imports/bluetoothsettings/bluetoothsettings.pro
index 3e6e6b5..8facaf3 100644
--- a/src/imports/bluetoothsettings/bluetoothsettings.pro
+++ b/src/imports/bluetoothsettings/bluetoothsettings.pro
@@ -1,17 +1,10 @@
-TEMPLATE = lib
-CONFIG += plugin
QT += qml bluetooth bluetoothsettings
-uri = QtDeviceUtilities.BluetoothSettings
-TARGET = btsettingsplugin
+CONFIG += no_cxx_module
-pluginfiles.files += \
- qmldir \
+TARGET = btsettingsplugin
+TARGETPATH = QtDeviceUtilities/BluetoothSettings
SOURCES += plugin.cpp
-installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
-
-target.path = $$installPath
-pluginfiles.path += $$installPath
-INSTALLS += target pluginfiles
+load(qml_plugin)