summaryrefslogtreecommitdiff
path: root/src/webenginequick/doc/snippets/minimal/main.qml
diff options
context:
space:
mode:
authorMichal Klocek <michal.klocek@qt.io>2023-03-17 10:34:53 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-03-22 12:48:41 +0000
commit7d9805df3a471e7172bf72ff1bc08c63ccfd67fa (patch)
treefee4dca1f5f8991c2b1d5736da38ac072ee3cbad /src/webenginequick/doc/snippets/minimal/main.qml
parent37b04eeb90063b9845d4b6154fa3bc7e36ebdf0c (diff)
downloadqtwebengine-7d9805df3a471e7172bf72ff1bc08c63ccfd67fa.tar.gz
Move quick minimal example to manual tests
Task-number: QTBUG-108751 Change-Id: I0998c46f051908855e0406e5fc7c0a422dc3eef0 Reviewed-by: Michal Klocek <michal.klocek@qt.io> (cherry picked from commit ed76eef004dbac15f4740d33d06d2b271bf770d4) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'src/webenginequick/doc/snippets/minimal/main.qml')
-rw-r--r--src/webenginequick/doc/snippets/minimal/main.qml18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/webenginequick/doc/snippets/minimal/main.qml b/src/webenginequick/doc/snippets/minimal/main.qml
new file mode 100644
index 000000000..87a8757df
--- /dev/null
+++ b/src/webenginequick/doc/snippets/minimal/main.qml
@@ -0,0 +1,18 @@
+// Copyright (C) 2016 The Qt Company Ltd.
+// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
+
+//! [Minimal Example]
+import QtQuick
+import QtQuick.Window
+import QtWebEngine
+
+Window {
+ width: 1024
+ height: 750
+ visible: true
+ WebEngineView {
+ anchors.fill: parent
+ url: "https://www.qt.io"
+ }
+}
+//! [Minimal Example]