[Qt-interest] QWebView base url and url...
Eric Clark
eclark at ara.com
Thu Jan 28 19:35:54 CET 2010
Hello Everyone,
I have an application that uses QWebView to show html pages that are dynamically produced. The URLs for these pages do not refer to a file on the system or anywhere for that matter, the html is generated on the fly. I would like to be able to set the URL to my special URL and have the base url point to a file on the system for image and style sheet purposes. It seems though that when calling QWebView::SetHtml and passing a base url to it causes the web view to use that base URL as the URL for the view. In my case, the base URL and the actual URL are not the same thing. Is it possible to store these as separate values in the view or do I just need to subclass QWebView and store the actual URL on my own?
Thanks,
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20100128/0d437eb7/attachment.html
More information about the Qt-interest-old
mailing list