aboutsummaryrefslogtreecommitdiffstats
path: root/src/virtualkeyboard/plugin.cpp
diff options
context:
space:
mode:
authorJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-04-01 17:09:17 +0300
committerJarkko Koivikko <jarkko.koivikko@code-q.fi>2015-04-01 17:22:00 +0300
commita3c4109c011c7fedaad5ebe8a08a5d20271a6d64 (patch)
treea115d41159b32616c53aad1cd314a0974c94ef90 /src/virtualkeyboard/plugin.cpp
parentfa1aae525f94e9a870d0fcc0fb1be50648b76739 (diff)
Fix version 1.0 import
The InputPanel type must be registered for each new version, which will not publish any other new components. Change-Id: If6fb076fbf2579274e4f61f088a742fc2816e834 Task-number: QTRD-3576 Reviewed-by: Rainer Keller <rainer.keller@theqtcompany.com>
Diffstat (limited to 'src/virtualkeyboard/plugin.cpp')
-rw-r--r--src/virtualkeyboard/plugin.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/virtualkeyboard/plugin.cpp b/src/virtualkeyboard/plugin.cpp
index 58935d15..879edc4a 100644
--- a/src/virtualkeyboard/plugin.cpp
+++ b/src/virtualkeyboard/plugin.cpp
@@ -83,6 +83,7 @@ QPlatformInputContext *PlatformInputContextPlugin::create(const QString &system,
qmlRegisterSingletonType<DeclarativeSettings>("QtQuick.Enterprise.VirtualKeyboard.Settings", 1, 2, "VirtualKeyboardSettings", DeclarativeSettings::registerSettingsModule);
const QString path("qrc:///content/");
+ qmlRegisterType(QUrl(path + "InputPanel.qml"), "QtQuick.Enterprise.VirtualKeyboard", 1, 0, "InputPanel");
qmlRegisterType(QUrl(path + "InputPanel.qml"), "QtQuick.Enterprise.VirtualKeyboard", 1, 2, "InputPanel");
qmlRegisterType(QUrl(path + "InputPanel.qml"), "QtQuick.Enterprise.VirtualKeyboard", 1, 3, "InputPanel");
const QString componentsPath = path + QLatin1Literal("components/");