[webkit-qt] QWebView history and anchors

Vyacheslav V. Yurkov uvv.mail at gmail.com
Sat Dec 25 08:02:45 PST 2010


Hi,
I'm porting my application from QTextBrowser to QWebView and have some 
questions on it.
1. Firstly, I load my HTML from QString using webView->setHtml() method. 
This html data has a lot of anchors. It took me a while to deduce how I 
should navigate to my anchors, my links look like 
"about:blank#anchor-name". Is there a better way to do that?
2. Even using a method above history items are not created, so I am not 
able to navigate back and forward. Could you help me with that please?

-- 
Yours sincerely,
Vyacheslav V. Yurkov


More information about the webkit-qt mailing list