How to inherit the QWebView
Hi everyone :
I am writing a simple browser by using QWebView.But the QWebView do not meet my needs. So I want create my own widget inherited from QWebView.
I create a “QT Custom Designer Widget” project.And wrote a widget inherited from QWebView. At last I copy the DLL file that in the project release path to $QT_HOME\Qt5.1.0\Tools\QtCreator\bin\plugins;And restart the QT Creator.
But it does not work……………..
So,How could I create my own widget inherited from QWebView and use it in my project? Thanks.
If you are not using designer, you can always simply subclass QWebView like any other widgets.
Otherwise you might be hit by "this":http://qt-project.org/doc/qtcreator-2.8/adding-plugins.html#matching-build-keys