sailfishos/sailfish-components-webview
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
This repository contains a QML plugin which provides a convenience
type to allow client applications to easily embed the Sailfish OS
Browser WebView into their own application in order to render web
webcontent.
Note: currently you have to explicitly link against qtmozembed-qt5
at build time, to avoid a symbol issue which leads to a crash:
CONFIG += link_pkgconfig
PKGCONFIG += qt5embedwidget
Example:
import QtQuick 2.0
import Sailfish.Silica 1.0
import Sailfish.WebView 1.0
ApplicationWindow {
id: root
initialPage: Component {
Page {
WebView {
anchors.fill: parent
url: "http://www.sailfishos.org"
}
}
}
}
About
No description, website, or topics provided.
Resources
License
Stars
Watchers
Forks
Packages 0
No packages published