add meta-app-framework to meta-agl
[AGL/meta-agl.git] / meta-app-framework / recipes-core / web-runtime / web-runtime / web-runtime.qml
diff --git a/meta-app-framework/recipes-core/web-runtime/web-runtime/web-runtime.qml b/meta-app-framework/recipes-core/web-runtime/web-runtime/web-runtime.qml
new file mode 100644 (file)
index 0000000..afe8a77
--- /dev/null
@@ -0,0 +1,13 @@
+import QtQuick 2.1
+import QtQuick.Controls 1.1
+import QtWebEngine 1.1
+
+ApplicationWindow {
+       width: 1024
+       height: 768
+       visible: true
+       WebEngineView {
+               url: Qt.application.arguments[1]
+               anchors.fill: parent
+       }
+}