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
|