Morph.Web documentation
-
I'm wanting to create a webapp+ using Morph.
Is there any documentation on using Morph.Web?
I've looked at a few apps in the OpenStore but non seem to help. with several issues I have.
I've having issues trying to create a bank app opening its website and resizing the page like it would when opening the same site using the UT Morph browser.
The second issue is I have a little blank window created along with the website.
here is a snippet of the main.qmlcoimport QtQuick 2.9 import QtQuick.Controls 2.2 import QtWebEngine 1.7 import Morph.Web 0.1 //import "components" ApplicationWindow { color: '#000000' width: units.gu(45) height: units.gu(75) visible: true id:application WebEngineView { id: webview //anchors.fill: parent anchors { top: parent.top left: parent.left right: parent.right bottom: parent.bottom } focus: true url: "https://www.wellsfargo.com/" profile: WebEngineProfile { id: webContext httpUserAgent: "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36" storageName: "Storage" persistentStoragePath: "/home/phablet/.cache/mnjrupp.wellsfargo/mnjrupp.wellsfargo/QtWebEngine" } } -
The docs for
Ubuntu.Webwill work, simply replaceUbuntu.WebwithMorph.Webfor the imports. https://api-docs.ubports.com/sdk/apps/qml/Ubuntu.Web/index.html -
A ari referenced this topic on
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login