Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
[qml] package plugins.qmltypes. Contributes to JB#34866
  • Loading branch information
martyone committed Jan 25, 2017
1 parent 738469d commit ef0f080
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/qml/CMakeLists.txt
Expand Up @@ -19,7 +19,7 @@ set_target_properties(statefs-declarative PROPERTIES
)

install(TARGETS statefs-declarative DESTINATION ${DST_LIB}/qt5/qml/Mer/State)
install(FILES qmldir DESTINATION ${DST_LIB}/qt5/qml/Mer/State)
install(FILES qmldir plugins.qmltypes DESTINATION ${DST_LIB}/qt5/qml/Mer/State)

add_library(contextkit
SHARED
Expand All @@ -34,3 +34,6 @@ install(TARGETS contextkit DESTINATION ${DST_LIB}/qt5/qml/org/freedesktop/contex
install(FILES contextkit-qmldir
DESTINATION ${DST_LIB}/qt5/qml/org/freedesktop/contextkit
RENAME qmldir)
install(FILES contextkit-plugins.qmltypes
DESTINATION ${DST_LIB}/qt5/qml/org/freedesktop/contextkit
RENAME plugins.qmltypes)
22 changes: 22 additions & 0 deletions src/qml/contextkit-plugins.qmltypes
@@ -0,0 +1,22 @@
import QtQuick.tooling 1.1

// 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 -notrelocatable org.freedesktop.contextkit 1.0'

Module {
Component {
name: "ContextPropertyDeclarative"
defaultProperty: "value"
prototype: "QObject"
exports: ["org.freedesktop.contextkit/ContextProperty 1.0"]
exportMetaObjectRevisions: [0]
Property { name: "key"; type: "string" }
Property { name: "value"; type: "QVariant" }
Property { name: "subscribed"; type: "bool" }
Method { name: "subscribe" }
Method { name: "unsubscribe" }
}
}
21 changes: 21 additions & 0 deletions src/qml/plugins.qmltypes
@@ -0,0 +1,21 @@
import QtQuick.tooling 1.1

// 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 -notrelocatable Mer.State 1.1'

Module {
Component {
name: "StateProperty"
defaultProperty: "value"
prototype: "QObject"
exports: ["Mer.State/StateProperty 1.1"]
exportMetaObjectRevisions: [0]
Property { name: "key"; type: "string" }
Property { name: "value"; type: "QVariant" }
Property { name: "subscribed"; type: "bool" }
Method { name: "refresh" }
}
}

0 comments on commit ef0f080

Please sign in to comment.