Regarding Qt WebEngine and WebView component in QML for Android and iOS.
-
So.. new Qt WebEngine is announced: http://blog.qt.digia.com/blog/2013/09/12/introducing-the-qt-webengine/
Will this mean that we'll have WebView in QML for Android and iOS in Qt 5.2 or not?
-
Hi,
From the blog entry you are mentioning:
bq. The first fully supported release will then, most likely, come as part of Qt 5.3 next spring. For the first version, we are planning to support the new Qt WebEngine module on Windows, Mac OS X, Linux and embedded Linux.
-
on iOS you wont ever see any other webengine than the one provided by Apple natively. Your app wont be accepted by Apple due to it's policies.
Chromium is portable to android, so i expect that it will be ported to android sooner or later, but dont expect it before Qt 5.3 -
I get it for iOS regarding their policy. Frankly, I don't care which engine it is on iOS, as long as the QML WebView element is supported.
So I guess that this
bq. "We will provide full Qt Quick support on iOS with Qt 5.2":http://blog.qt.digia.com/blog/2013/07/03/qt-5-1-released/.
will be actually true for 5.3..
-
hmm...seems Android support will also "not happen":http://qt-project.org/wiki/QtWebEngine#5405d8a903c83e89cb649f1b518ef1be.
I guess iOS and Android will then get their native webeninge for the QML element. -
Yeah... Here is this Chromium bug report from Feb 2012 "Let Chrome be used by WebView":https://code.google.com/p/chromium/issues/detail?id=113088 that would maybe be useful regarding this - if fixed, but it's highly unlikely for that to happen...
Are there any plans to support the WebView QML element in some other way on these two platforms (e.g. wrapping the native engine)?
-
[quote author="moondowner" date="1379336892"]
Are there any plans to support the WebView QML element in some other way on these two platforms (e.g. wrapping the native engine)? [/quote]
I'm pretty sure that's what will happen.
Nevertheless you wont have to worry about the webview QML element, there will be a working implementation available.The only thing you wont have (on mobile platforms) is the QObject-bridge functionality like we have currently with QtWebkit.
-
Thanks for the info.
-
WebView in QML on iOS won't be supported any time soon on iOS. Apart from Apple's stance on alternative web engines, there are also technical issues (which are not easy to solve) in using the Apple UIWebView from QML. It's possible (with the Qt4iOS iOS plugin) to use UIWebView from QWidget based apps, but not QML apps. The Digia iOS plugin does not support using UIWebView in any way (and won't any time soon).