diff options
Diffstat (limited to 'navit/graphics/qt5')
-rw-r--r-- | navit/graphics/qt5/graphics_qt5.cpp | 4 | ||||
-rw-r--r-- | navit/graphics/qt5/graphics_qt5.qml | 2 | ||||
-rw-r--r-- | navit/graphics/qt5/loader.qml | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/navit/graphics/qt5/graphics_qt5.cpp b/navit/graphics/qt5/graphics_qt5.cpp index 7d157935e..69edd65a0 100644 --- a/navit/graphics/qt5/graphics_qt5.cpp +++ b/navit/graphics/qt5/graphics_qt5.cpp @@ -1018,6 +1018,8 @@ static struct graphics_priv* graphics_qt5_new(struct navit* nav, struct graphics #else navit_app = new QGuiApplication(graphics_priv->argc, graphics_priv->argv); #endif + navit_app->setOrganizationName(QStringLiteral("org.navitproject")); + navit_app->setApplicationName(QStringLiteral("navit")); #if HAVE_FREETYPE graphics_priv->font_freetype_new = font_freetype_new; @@ -1044,7 +1046,7 @@ static struct graphics_priv* graphics_qt5_new(struct navit* nav, struct graphics graphics_priv->GPriv = NULL; if (use_qml) { /* register our QtQuick widget to allow it's usage within QML */ - qmlRegisterType<QNavitQuick>("com.navit.graphics_qt5", 1, 0, "QNavitQuick"); + qmlRegisterType<QNavitQuick>("org.navitproject.graphics_qt5", 1, 0, "QNavitQuick"); /* get our qml application from embedded resources. May be replaced by the * QtQuick gui component if enabled */ graphics_priv->engine = new QQmlApplicationEngine(); diff --git a/navit/graphics/qt5/graphics_qt5.qml b/navit/graphics/qt5/graphics_qt5.qml index 5f6056b26..1451407d0 100644 --- a/navit/graphics/qt5/graphics_qt5.qml +++ b/navit/graphics/qt5/graphics_qt5.qml @@ -1,4 +1,4 @@ -import com.navit.graphics_qt5 1.0 +import org.navitproject.graphics_qt5 1.0 import QtQuick 2.2 import QtQuick.Window 2.0 diff --git a/navit/graphics/qt5/loader.qml b/navit/graphics/qt5/loader.qml index 29dcb7832..abc3dd36f 100644 --- a/navit/graphics/qt5/loader.qml +++ b/navit/graphics/qt5/loader.qml @@ -1,4 +1,4 @@ -import com.navit.graphics_qt5 1.0 +import org.navitproject.graphics_qt5 1.0 import QtQuick 2.2 import QtQuick.Window 2.0 |