aboutsummaryrefslogtreecommitdiffstats
path: root/src/imports/localstorage/localstorage.pro
diff options
context:
space:
mode:
Diffstat (limited to 'src/imports/localstorage/localstorage.pro')
-rw-r--r--src/imports/localstorage/localstorage.pro12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/imports/localstorage/localstorage.pro b/src/imports/localstorage/localstorage.pro
index fa1718dd68..93fa9c21dd 100644
--- a/src/imports/localstorage/localstorage.pro
+++ b/src/imports/localstorage/localstorage.pro
@@ -1,17 +1,11 @@
+CXX_MODULE = qml
TARGET = qmllocalstorageplugin
TARGETPATH = QtQuick/LocalStorage
-include(../qimportbase.pri)
QT += sql qml qml-private v8-private core-private
SOURCES += plugin.cpp
-OTHER_FILES += localstorage.json
-
-DESTDIR = $$QT.qml.imports/$$TARGETPATH
-target.path = $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
+load(qml_plugin)
-qmldir.files += $$PWD/qmldir
-qmldir.path += $$[QT_INSTALL_IMPORTS]/$$TARGETPATH
-
-INSTALLS += target qmldir
+OTHER_FILES += localstorage.json