Skip to content

Commit

Permalink
[devicelock] Add plugins.qmltypes. Contributes to JB#41605
Browse files Browse the repository at this point in the history
  • Loading branch information
martyone committed Jun 21, 2018
1 parent 7f19f7d commit 35ae9dd
Show file tree
Hide file tree
Showing 4 changed files with 739 additions and 0 deletions.
1 change: 1 addition & 0 deletions rpm/nemo-qml-plugin-devicelock.spec
Expand Up @@ -74,6 +74,7 @@ ln -sf ../nemo-devicelock.socket %{buildroot}/lib/systemd/system/multi-user.targ
%{_libdir}/libnemodevicelock.so.*
%dir %{_libdir}/qt5/qml/org/nemomobile/devicelock
%{_libdir}/qt5/qml/org/nemomobile/devicelock/libnemodevicelockplugin.so
%{_libdir}/qt5/qml/org/nemomobile/devicelock/plugins.qmltypes
%{_libdir}/qt5/qml/org/nemomobile/devicelock/qmldir
/lib/systemd/system/nemo-devicelock.socket
/lib/systemd/system/multi-user.target.wants/nemo-devicelock.socket
Expand Down
4 changes: 4 additions & 0 deletions src/plugin/plugin.pro
Expand Up @@ -23,6 +23,7 @@ SOURCES = \
plugin.cpp

import.files = \
plugins.qmltypes \
qmldir
import.path = $$TARGETPATH

Expand All @@ -31,3 +32,6 @@ target.path = $$TARGETPATH
INSTALLS += \
import \
target

qmltypes.commands = qmlplugindump -nonrelocatable org.nemomobile.devicelock 1.0 > $$PWD/plugins.qmltypes
QMAKE_EXTRA_TARGETS += qmltypes

0 comments on commit 35ae9dd

Please sign in to comment.