This happens when the current page was set from a relative URL. See attached .cpp and .html. If I change the URL passed to QWebView::load() to be an absolute one (e.g. file:///home/khansen/index.html), the URL from the object tag is passed correctly. Since the URL in the object is already absolute, however, I don't see why it should be affected by whether the current page has an absolute URL or not.
Created attachment 20524 [details] sample web page
Created attachment 20525 [details] Sample code
Fixed in r32684