blob: 028e3f5c5cc7c4883e11bf0041159ae96670b3d5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
From 827b323ee9a6db04c1f5b644abea0ced2095096a Mon Sep 17 00:00:00 2001
From: Christophe Chapuis <chris.chapuis@gmail.com>
Date: Tue, 26 Jan 2016 18:56:42 +0100
Subject: [PATCH] Don't use MeeGo as prefix in order to make this a common
component
Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com>
Signed-off-by: Herman van Hazendonk <github.com@herrie.org>
---
plugin/plugin.cpp | 2 +-
plugin/plugin.pro | 2 +-
plugin/qmldir | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
--- a/plugin/plugin.cpp
+++ b/plugin/plugin.cpp
@@ -34,7 +34,7 @@ static QObject *singleton_api_factory(QQ
class ConnmanPlugin: public QQmlExtensionPlugin
{
Q_OBJECT
- Q_PLUGIN_METADATA(IID "MeeGo.Connman")
+ Q_PLUGIN_METADATA(IID "Connman")
public:
void registerTypes(const char *uri);
--- a/plugin/plugin.pro
+++ b/plugin/plugin.pro
@@ -17,7 +17,7 @@ LIBS += -l$$qtLibraryTarget(connman-$$TA
QT += qml
OTHER_FILES += plugin.json plugins.qmltypes qmldirs
-MODULENAME = MeeGo/Connman
+MODULENAME = Connman
TARGETPATH = $$[QT_INSTALL_QML]/$$MODULENAME
target.path = $$TARGETPATH
--- a/plugin/qmldir
+++ b/plugin/qmldir
@@ -1,3 +1,3 @@
-module MeeGo.Connman
+module Connman
plugin ConnmanQtDeclarative
typeinfo plugins.qmltypes
|