summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/web-runtime/web-runtime/web-runtime.qml
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-graphics/web-runtime/web-runtime/web-runtime.qml')
-rw-r--r--recipes-graphics/web-runtime/web-runtime/web-runtime.qml14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-graphics/web-runtime/web-runtime/web-runtime.qml b/recipes-graphics/web-runtime/web-runtime/web-runtime.qml
new file mode 100644
index 00000000..852567a4
--- /dev/null
+++ b/recipes-graphics/web-runtime/web-runtime/web-runtime.qml
@@ -0,0 +1,14 @@
+import QtQuick 2.1
+import QtQuick.Controls 1.1
+import QtWebEngine 1.1
+
+ApplicationWindow {
+ width: 1024
+ height: 768
+ visible: true
+ flags: Qt.WindowFullScreen | Qt.FramelessWindowHint
+ WebEngineView {
+ url: Qt.application.arguments[1]
+ anchors.fill: parent
+ }
+}