[Development] WebView for Android on track for Qt 5.2?

Cornelius Hald hald at icandy.de
Tue Sep 10 15:12:54 CEST 2013


Thanks for the additional information. I'm not an export on OpenGL but
if I give it a try I'll report my findings here.

Cheers,
Conny


On Mon, 2013-09-09 at 05:52 +0000, Abrahamsen-Blomfeldt Eskil wrote:
> Hi,
> 
> So far there hasn't been much research on this, but the idea was to render it into a texture and use this in the QML scene graph, yes.
> 
> Any experience you collect on this will probably be very helpful. I think the path forward may be to make an Android-specific API for this that can easily be adapted to a cross-platform API later. That gives us a bit more flexibility as we do not have to commit to a cross-platform API right away. I can't give any promises as for the Qt version this will be targeted at yet, but I do understand that it's a very important feature, so I definitely want to have it as soon as at all possible.
> 
> Here's a blog which might be helpful if you're going to be looking at this:
> 
> http://anuraagsridhar.wordpress.com/2013/03/13/rendering-an-android-webview-or-for-that-matter-any-android-view-directly-to-opengl/
> 
> -- Eskil
> 
> -----Opprinnelig melding-----
> Fra: Cornelius Hald [mailto:hald at icandy.de] 
> Sendt: 6. september 2013 16:15
> Til: Abrahamsen-Blomfeldt Eskil
> Kopi: development at qt-project.org
> Emne: Re: [Development] WebView for Android on track for Qt 5.2?
> 
> On Fri, 2013-09-06 at 10:41 +0200, Eskil Abrahamsen Blomfeldt wrote:
> > On 09/05/2013 06:18 PM, Cornelius Hald wrote:
> > > Hi guys,
> > >
> > > what is the state of WebView (QQ2) for Android? Is it still planed 
> > > for Qt 5.2? Is there a branch to track somewhere? The bug report 
> > > suggests that instead of using QtWebKit a wrapper around the 
> > > Android-WebView is now planned.
> > >
> > > https://bugreports.qt-project.org/browse/QTBUG-32093
> > >
> > > Anything I could help you with?
> > 
> > Hi,
> > 
> > I've talked to the team working on the web engine in Qt in Digia, and 
> > right now there are no resources to do work on this in Digia 
> > unfortunately. It might be possible to do something specifically for 
> > Android, but it would be a lot nicer to have a cross-platform solution 
> > like the web engine guys initially planned, and I think this is needed 
> > for iOS as well. I'll talk to the iOS team here, but I don't think it 
> > sounds feasible that this will be done in the one and a half weeks we 
> > have left before the Qt 5.2 feature freeze. Sorry :(
> > 
> > -- Eskil
> > 
> 
> Hi Eskil,
> 
> thank you for your fast reply. Of course that wasn't the answer I was hoping for but at least I can be sure now. I have two projects running on Windows and Linux. Both I should port to Android as soon as possible.
> 
> Are there any known workarounds? Like using the Android WebView and rendering it into a GL texture that could be used with QQ2? I only need output. No input or interaction.
> 
> I will research my options but would be very grateful for any hints and tips. Also it would be great to know for what Qt version it is planned to have a working WebView on Android.
> 
> Thanks!
> Conny
> 
> 
> 





More information about the Development mailing list