Details
-
Bug
-
Resolution: Out of scope
-
P2: Important
-
4.4.0
-
None
Description
This used to work earlier. Right clicking a link and choosing "open link" works. This example creates a native QWebView and a graphicsview embedded web view for comparison:
#include <QtGui>
#include <QWebView>
int main(int argc, char **argv)
{
QApplication app(argc, argv);
QGraphicsScene *scene = new QGraphicsScene;
QWebView *webView = new QWebView;
webView->setUrl(QUrl("http://www.sau.no/"));
scene->addWidget(webView);
scene->setSceneRect(scene->itemsBoundingRect().adjusted(-50, -50, 50, 50));
QGraphicsView view(scene);
view.show();
view.setWindowTitle(QLatin1String("Graphicsview embedded web view"));
QWebView native;
native.setUrl(QUrl("http://www.sau.no/"));
native.show();
native.setWindowTitle(QLatin1String("Native web view"));
return app.exec();
}