Skip to content

Commit

Permalink
Merge branch 'jb41605' into 'master'
Browse files Browse the repository at this point in the history
Add plugins.qmltypes

See merge request mer-core/libcontentaction!4
  • Loading branch information
pvuorela committed May 16, 2018
2 parents 3280735 + e05b2ec commit 64f0a31
Show file tree
Hide file tree
Showing 4 changed files with 41 additions and 2 deletions.
5 changes: 4 additions & 1 deletion declarative/declarative.pro
Expand Up @@ -26,9 +26,12 @@ HEADERS += \
PRE_TARGETDEPS += $$copy_qmldir.target
}

qmldir.files = qmldir
qmldir.files = qmldir plugins.qmltypes

qmldir.path = $$installPath
target.path = $$installPath

INSTALLS += target qmldir

qmltypes.commands = qmlplugindump -nonrelocatable org.nemomobile.contentaction 1.0 > $$PWD/plugins.qmltypes
QMAKE_EXTRA_TARGETS += qmltypes
35 changes: 35 additions & 0 deletions declarative/plugins.qmltypes
@@ -0,0 +1,35 @@
import QtQuick.tooling 1.2

// This file describes the plugin-supplied types contained in the library.
// It is used for QML tooling purposes only.
//
// This file was auto-generated by:
// 'qmlplugindump -nonrelocatable org.nemomobile.contentaction 1.0'

Module {
dependencies: []
Component {
name: "DeclarativeContentAction"
prototype: "QObject"
exports: ["org.nemomobile.contentaction/ContentAction 1.0"]
isCreatable: false
isSingleton: true
exportMetaObjectRevisions: [0]
Enum {
name: "Error"
values: {
"NoError": 0,
"FileTypeNotSupported": 1,
"FileDoesNotExist": 2,
"UrlSchemeNotSupported": 3,
"InvalidUrl": 4
}
}
Property { name: "error"; type: "Error"; isReadonly: true }
Method {
name: "trigger"
type: "bool"
Parameter { name: "url"; type: "QUrl" }
}
}
}
1 change: 1 addition & 0 deletions declarative/qmldir
@@ -1,2 +1,3 @@
module org.nemomobile.contentaction
plugin contentaction
typeinfo plugins.qmltypes
2 changes: 1 addition & 1 deletion rpm/libcontentaction-qt5.spec
Expand Up @@ -4,7 +4,7 @@ Version: 0.2.9
Release: 1
Group: System/Desktop
License: LGPLv2.1
URL: https://github.com/nemomobile/libcontentaction
URL: https://git.merproject.org/mer-core/libcontentaction
Source0: %{name}-%{version}.tar.bz2
Requires(post): /sbin/ldconfig
Requires(postun): /sbin/ldconfig
Expand Down

0 comments on commit 64f0a31

Please sign in to comment.