Re: [SailfishDevel] Webview and clicking on external link

2016-02-01 Thread Raine Mäkeläinen
Hi Zoltan, Your example snippet looks valid. There's no need for goExternal kind of functions. Only thing that I can image is that you're not actually clicking a link rather something that resembles link clicking from user point of view such as JavaScript/CSS highlighting + DOM manipulation wi

Re: [SailfishDevel] Webview and clicking on external link

2016-01-29 Thread Zoltán Lutor
What did you mean with "*in some parent object and call the function from within the webview*"? Solution below did not do the trick - link is still opened in the same webview... Item { id: htmlContentViewer WebView { id: webViewer anchors.fill: parent onNav

Re: [SailfishDevel] Webview and clicking on external link

2016-01-28 Thread Michael Fuchs
Place the Qt.openUrlExternally(request.url) in a function in some parent object and call the function from within the webview. On Donnerstag, 28. Jänner 2016 21:55:49 CET Zoltán Lutor wrote: > Hi, > > Any idea how to open link clicked in webview in browser application? > Code below does not do t