summaryrefslogtreecommitdiffstats
path: root/meta-agl-demo/recipes-graphics/web-runtime/web-runtime
diff options
context:
space:
mode:
Diffstat (limited to 'meta-agl-demo/recipes-graphics/web-runtime/web-runtime')
-rwxr-xr-xmeta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime18
-rw-r--r--meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml13
-rw-r--r--meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime.qml14
3 files changed, 0 insertions, 45 deletions
diff --git a/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime b/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime
deleted file mode 100755
index 39f3781b..00000000
--- a/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/bash
-export -n QT_WAYLAND_SHELL_INTEGRATION
-port=$(echo -n "$1" | sed 's,.*local.*:\([^/]*\)/.*,\1,')
-token=$(echo -n "$1" | sed 's,.*token=,,')
-export AFM_APP_INSTALL_DIR=$(mktemp -d)
-cat << EOC > $AFM_APP_INSTALL_DIR/runxdg.toml
-[application]
-role = "WebBrowser"
-method = "POSIX"
-path = "/usr/bin/qt5/qmlscene"
-params = [
- "$1",
- "/usr/bin/web-runtime.qml"
-]
-EOC
-export LD_PRELOAD=/usr/lib/libEGL.so
-/usr/bin/runxdg "$port" "$token"
-rm -rf $AFM_APP_INSTALL_DIR
diff --git a/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml b/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml
deleted file mode 100644
index 8025ab12..00000000
--- a/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime-webkit.qml
+++ /dev/null
@@ -1,13 +0,0 @@
-import QtQuick 2.1
-import QtQuick.Controls 1.1
-import QtWebKit 3.0
-
-ApplicationWindow {
- width: 1080
- height: 1488
- visible: true
- WebView {
- url: Qt.application.arguments[1]
- anchors.fill: parent
- }
-}
diff --git a/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime.qml b/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime.qml
deleted file mode 100644
index 3efe5159..00000000
--- a/meta-agl-demo/recipes-graphics/web-runtime/web-runtime/web-runtime.qml
+++ /dev/null
@@ -1,14 +0,0 @@
-import QtQuick 2.1
-import QtQuick.Controls 1.1
-import QtWebEngine 1.1
-
-ApplicationWindow {
- width: 1080
- height: 1488
- visible: true
- flags: Qt.WindowFullScreen | Qt.FramelessWindowHint
- WebEngineView {
- url: Qt.application.arguments[1]
- anchors.fill: parent
- }
-}