QWebView for mobile
-
wrote on 28 Jul 2015, 07:48 last edited by
QwebView missing for mobile any other idea so i can load url in mobile app?
-
Hi,
The QtWebView module is what you are looking for. It's a wrapper around native web views.
-
wrote on 28 Jul 2015, 08:32 last edited by
Hi @SGaist thanks for reply
im using
#include "QWebView"ui->webView->load(QUrl("http://www.google.com")); ui->webView->show();
but when im deploying in android :
Project ERROR: Unknown module(s) in QT: webkitwidgets
problem with .pro
QT += webkitwidgets -
Because the QtWebKit and QtWebKitWidgets modules are not available on the mobile targets due to platforms restriction for both iOS and Android outside Qt's control.
The QtWebView module is what you need to use for these. The class name will be the same but the module is different.
-
Because the QtWebKit and QtWebKitWidgets modules are not available on the mobile targets due to platforms restriction for both iOS and Android outside Qt's control.
The QtWebView module is what you need to use for these. The class name will be the same but the module is different.
wrote on 29 Jul 2015, 14:31 last edited by@SGaist
is there is a chance to get wrapper from QtWebView to QtWebEngine for non- OSX desktops?
This will help to unify codebase a lotthanks
-
QtWebView is not a wrapper around QtWebEngine, it's a wrapper around the platforms native web views.
I don't know the roadmap for the module
4/6