From 3c0f3ed5d5819a927d259e0dda7b3245cf43b110 Mon Sep 17 00:00:00 2001 From: J-P Nurmi Date: Mon, 5 Feb 2018 13:31:28 +0100 Subject: Add missing meta revision 3 for Label, TextArea, TextField Fixes: ".palette" is not available due to component versioning. Change-Id: I3687a5879bcdf8f1af36c1b32b796ce2fa7e879e Reviewed-by: Mitch Curtis --- src/imports/templates/qtquicktemplates2plugin.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src') diff --git a/src/imports/templates/qtquicktemplates2plugin.cpp b/src/imports/templates/qtquicktemplates2plugin.cpp index 15a5f338..813ace40 100644 --- a/src/imports/templates/qtquicktemplates2plugin.cpp +++ b/src/imports/templates/qtquicktemplates2plugin.cpp @@ -299,6 +299,7 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType(uri, 2, 3, "Dialog"); qmlRegisterType(uri, 2, 3, "DialogButtonBox"); qRegisterMetaType(); + qmlRegisterType(uri, 2, 3, "Label"); qmlRegisterType(uri, 2, 3, "Menu"); qmlRegisterType(uri, 2, 3, "MenuBar"); qmlRegisterType(uri, 2, 3, "MenuBarItem"); @@ -311,6 +312,8 @@ void QtQuickTemplates2Plugin::registerTypes(const char *uri) qmlRegisterType(uri, 2, 3, "ScrollIndicator"); qmlRegisterType(uri, 2, 3, "Slider"); qmlRegisterType(uri, 2, 3, "SpinBox"); + qmlRegisterType(uri, 2, 3, "TextArea"); + qmlRegisterType(uri, 2, 3, "TextField"); // NOTE: register the latest revisions of all template/control base classes to // make revisioned properties available to their subclasses (synced with Qt 5.10) -- cgit v1.2.3