forked from jeena/FeedTheMonkey
first working showing post
This commit is contained in:
parent
0405a8ba39
commit
cc59671ff4
6 changed files with 22 additions and 7 deletions
|
@ -1,8 +1,12 @@
|
|||
import QtWebKit 3.0
|
||||
import QtWebKit.experimental 1.0
|
||||
|
||||
WebView {
|
||||
id: webview
|
||||
url: "content.html"
|
||||
|
||||
// Enable communication between QML and WebKit
|
||||
experimental.preferences.navigatorQtObjectEnabled: true;
|
||||
|
||||
onNavigationRequested: {
|
||||
if (request.navigationType != WebView.LinkClickedNavigation) {
|
||||
request.action = WebView.AcceptRequest;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue