Hi, This mailing list is about the development of QtWebKit itself and not about how to use it. It would be better to use http://developer.qt.nokia.com/forums/viewforum/21/ for such questions.
But :) 1) Don't relative links works? 2) about:blank is a special case with special handling here and there in WebKit. You can give a baseUrl as argument to QWebFrame::setHtml(). A regular, non-reserved url should appear in the history. cheers, Benjamin ________________________________________ From: [email protected] [[email protected]] on behalf of ext Vyacheslav V. Yurkov [[email protected]] Sent: Saturday, December 25, 2010 5:02 PM To: [email protected] Subject: [webkit-qt] QWebView history and anchors 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 _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt _______________________________________________ webkit-qt mailing list [email protected] http://lists.webkit.org/mailman/listinfo.cgi/webkit-qt
