I am using Qt 5.6
, and the problem is that QWebView
is not appearing on the widget box. It looks like the widget is not installed, but I haven't found any way to install it.
Asked
Active
Viewed 2,747 times
1

J. Chomel
- 8,193
- 15
- 41
- 69

Брайан Волков
- 11
- 1
- 2
-
add it in code then. create some placeholder widget which you later replace by the webview. or you insert it... Same as you'd do with your custom widgets. – Piglet Apr 29 '16 at 19:43
-
I am trying to do what you suggested, but the editor is not recognizing the QWebView class. This is how I am including it: #include "QtWebKitWidgets/QWebView" – Брайан Волков Apr 29 '16 at 20:20
2 Answers
1
In Qt 5.6 You need to use QWebEngineView then you can load your web page in qwidget.

bhupinder
- 315
- 1
- 6
- 23