[SailfishDevel] QtWebKit QWebView
samuli.silvius at gmail.com
Fri Jan 24 17:43:21 UTC 2014
Di you get this working? I would need very same functionality (getting
webpage content, as dom to traversal). It feel strange to me that WebView
(SilicaWebView) does not provide access to webpage content? Maybe it has
reasons, I don't know as very new to mobile apps..
way, but did not yet find any. I would like to keep my code purely on
done a lot C++ but so many years back and certainly not mobile platforms.
2014/1/21 Hannes Rantzsch <hannes.rantzsch at student.hpi.uni-potsdam.de>
> Hi Aaron, thank you for your answer.
> I tried QWebFrame, but it says incomplete type. Apparently QWebFrame is
> only forward declared in QWebElement (which is available, but on it's
> own of no use I guess). Or am I simply missing some #include?
> Any ideas?
> On 01/21/2014 02:37 AM, Aaron McCarthy wrote:
> > Hi,
> > On Mon, 20 Jan 2014 23:27:02 Hannes Rantzsch wrote:
> >> I'm trying to get the content of a website. Since SilicaWebView doesn't
> >> seem to provide this, I want to write a C++ class that does. QWebView
> >> from QtWebKit should be able to do this (this example is actually
> >> perfect:
> >> xample.html).
> >> However, I cannot include QWebView (no such file [...]) and including
> >> "QtWebKit/QtWebKit" does not give me the QWebView either.
> >> I did add "QT += webkit" to my .pro-file.
> >> What am I missing?
> > QWebPage is in WebKit widgets.
> > QT += webkitwidgets
> > But widgets aren't supported.
> > If you don't need to display the web page, you can use QWebFrame and
> > the example you linked to from there.
> > Cheers,
> SailfishOS.org Devel mailing list
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Devel