i am trying to call a html page to be shown inside my application i have tried to use the webview but when i put the import
import QtWebEngine 1.3 the application dont work anymore any suggestion please
Hi Alba,
You may want to take a look at the QtWebView (e.g. import QtWebView 1.1) in the Qt documentation. Be aware that this will require to be deployed correctly for any apps (for example on windows you may need QtWebEngineProcess.exe which is a separate application) that use it and will also require to be addde to the project and initialised.
For example, in your .pro file you may need to add something like this:
qtHaveModule(webengine) {
QT += webengine
DEFINES += QT_WEBVIEW_WEBENGINE_BACKEND }
and in your main.cpp you need to initialise WebEngine with something like this:
#ifdef QT_WEBVIEW_WEBENGINE_BACKEND
QtWebEngine::initialize();
#endif // QT_WEBVIEW_WEBENGINE_BACKEND
also be aware that QtWebview is a separate download category in the maintenance tool.
I hope that helps