summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-18 12:57:53 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2018-12-20 17:15:42 +0000
commitb0df63cb08fd192b979de2acdffd103ee62c8471 (patch)
tree7e63c72179ef40b50644440b705bde9a43cbb167
parentf1a8c05c740aeba25f0e44a0cc11903effdf6e99 (diff)
Qt Designer: Generate global includes for custom widget plugins
Generate #include <QtQuickWidgets/QQuickWidget> instead of #include "QtQuickWidgets/QQuickWidget" Task-number: QTBUG-72641 Change-Id: I6f2870bbe95ac582fb2137fa3540c79cfe61d06c Reviewed-by: Kai Koehne <kai.koehne@qt.io>
-rw-r--r--src/designer/src/plugins/qquickwidget/qquickwidget_plugin.cpp2
-rw-r--r--src/designer/src/plugins/qwebview/qwebview_plugin.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/plugins/qquickwidget/qquickwidget_plugin.cpp b/src/designer/src/plugins/qquickwidget/qquickwidget_plugin.cpp
index 0d4d228e3..a843e1052 100644
--- a/src/designer/src/plugins/qquickwidget/qquickwidget_plugin.cpp
+++ b/src/designer/src/plugins/qquickwidget/qquickwidget_plugin.cpp
@@ -65,7 +65,7 @@ QString QQuickWidgetPlugin::whatsThis() const
QString QQuickWidgetPlugin::includeFile() const
{
- return QStringLiteral("QtQuickWidgets/QQuickWidget");
+ return QStringLiteral("<QtQuickWidgets/QQuickWidget>");
}
QIcon QQuickWidgetPlugin::icon() const
diff --git a/src/designer/src/plugins/qwebview/qwebview_plugin.cpp b/src/designer/src/plugins/qwebview/qwebview_plugin.cpp
index c91c77327..5f72a6185 100644
--- a/src/designer/src/plugins/qwebview/qwebview_plugin.cpp
+++ b/src/designer/src/plugins/qwebview/qwebview_plugin.cpp
@@ -63,7 +63,7 @@ QString QWebViewPlugin::whatsThis() const
QString QWebViewPlugin::includeFile() const
{
- return QStringLiteral("QtWebKitWidgets/QWebView");
+ return QStringLiteral("<QtWebKitWidgets/QWebView>");
}
QIcon QWebViewPlugin::icon() const