I'm upgrading my code from Qt 5.5 to Qt 5.6, but I didn't find a way to port the following code:
QWebEngineView *qwebview = new QWebEngineView(this);
If you read here : Bug Report on QWebEngine, you'll see that :
I don't know if it will help you, but here is an extract of what I have done .
m_pView = new QWebEngineView(this); QUrl startURL = QUrl("path/to/index.html"); m_pView->setUrl(startURL);
And in the
<html> <head> <title>TITLE</title> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <!-- Many JS scripts here --> <link href="./css/style.css" rel="stylesheet"> </head> <body ng-app="myApp" > <div ui-view class="page"></div> </body> </html>
Hope that helps.