RESOLVED DUPLICATE of bug 51464 52053
[Qt] The QGraphicsProxyWidget created in QWebPage::createPlugin is not added as javascript object automatically
https://bugs.webkit.org/show_bug.cgi?id=52053
Summary [Qt] The QGraphicsProxyWidget created in QWebPage::createPlugin is not added ...
qt-info
Reported 2011-01-07 04:06:51 PST
If QWebPage is used with QWebView, the qobject created in createPlugin is exported to javascript automatically. But if QWebPage is used with QGraphicsWebView, the QGraphicsProxyWidget created is not exported to the javascript. The user has to call addToJavaScriptWindowObject manually. There should not be such difference. tested against Qt 4.7.1 in the attached test case, you can change the macro defined in mywebpage.h to see the difference.
Attachments
test case (3.66 KB, application/x-gzip)
2011-01-07 04:08 PST, qt-info
no flags
qt-info
Comment 1 2011-01-07 04:08:15 PST
Created attachment 78219 [details] test case test case. change the macro in mywebpage.h to see the difference
Benjamin Poulain
Comment 2 2011-01-30 05:46:30 PST
Please follow http://trac.webkit.org/wiki/QtWebKitBugs when reporing bugs here (missing Qt keyword). Please use your own address when reporting bugs. With qt-info, we have no way to ask questions. My guess is Jing did the job on this bug :)
Noam Rosenthal
Comment 3 2011-01-30 09:18:39 PST
Fixed in trunk: http://trac.webkit.org/changeset/74909 *** This bug has been marked as a duplicate of bug 51464 ***
Note You need to log in before you can comment on or make changes to this bug.