summaryrefslogtreecommitdiffstats
path: root/src/imports/localdevice/localdevice.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/localdevice/localdevice.pro')
-rw-r--r--src/imports/localdevice/localdevice.pro17
1 files changed, 5 insertions, 12 deletions
diff --git a/src/imports/localdevice/localdevice.pro b/src/imports/localdevice/localdevice.pro
index 0ef1980..e34a3d5 100644
--- a/src/imports/localdevice/localdevice.pro
+++ b/src/imports/localdevice/localdevice.pro
@@ -1,17 +1,10 @@
-TEMPLATE = lib
-CONFIG += plugin
-TARGET = localdeviceplugin
-uri = QtDeviceUtilities.LocalDeviceSettings
-
QT += qml localdevice
-pluginfiles.files += \
- qmldir \
+CONFIG += no_cxx_module
-SOURCES += plugin.cpp
+TARGET = localdeviceplugin
+TARGETPATH = QtDeviceUtilities/LocalDeviceSettings
-installPath = $$[QT_INSTALL_QML]/$$replace(uri, \\., /)
+SOURCES += plugin.cpp
-target.path = $$installPath
-pluginfiles.path += $$installPath
-INSTALLS += target pluginfiles
+load(qml_plugin)