[Qt-interest] QWebView and HTML anchors...

Eric Clark eclark at ara.com
Wed May 26 16:52:21 CEST 2010


Hello All,

I am experiencing some strange behavior with QWebView and links that contains anchors. I have an application that uses the QWebView class to allow users to browse html pages, both online and off. Everything seems to work great until I try to view a URL that has an anchor in it, or a fragment as it is called in Qt (i.e. http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.preface). If I view the URL http://svnbook.red-bean.com/en/1.5/svn-book.html, everything works great. But, as soon as I click on one of the links in the table of contents, http://svnbook.red-bean.com/en/1.5/svn-book.html#svn.preface, nothing shows up in the view. Does QWebView even support HTML anchors? It seems as though this is either a bug or it was intentionally left out for some reason. I would appreciate any advice or help that anyone can give.

Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100526/b461541f/attachment.html 


More information about the Qt-interest-old mailing list