Here is a code example.
@QObject *WebPage::createPlugin(
const QString &classid,
const QUrl &url,
const QStringList ¶mNames,
const QStringList & paramValues)
{
QWebView *view = new QWebView();
view->load(QUrl("http://developer.qt.nokia.com/"));
mainFrame()->addToJavaScriptWindowObject("renderer", view);
return view;
}@
With a complex workaround embedding QWebViews into iframes I get the QWebView not to be deleted, but now the QWebViews shown in first plane, so them overlap and I cannot view all the QWebViews, only the last inserted.
I cannot refuse to use a QWebView because an iframe does not offer the isolation that I want.
Thanks for paying attention on my problem :)