[Interest] WebEngine vs Webkit

Jason Kretzer Jason at gocodigo.com
Tue Mar 24 02:15:39 CET 2015


I had not tried it yet.  Will have to try it and see what happens.

Slightly different question:  Can the QtWebEngine make use of the FlashPlayer plugin (Pepper or otherwise)?

From: Ian Monroe [mailto:ian at monroe.nu]
Sent: Monday, March 23, 2015 1:53 PM
To: Jason Kretzer; interest at qt-project.org
Cc: yogeshpatel at cdnsol.com
Subject: Re: [Interest] WebEngine vs Webkit


The sample qtwebengine browser works for you?

On Mon, Mar 23, 2015, 06:15 Jason Kretzer <Jason at gocodigo.com<mailto:Jason at gocodigo.com>> wrote:
Good day everyone!

I am looking at converting an application that uses webkit to using the
new webengine stuff.  I have run into a few things that I was not
expecting, including issues with working with setZoomFactor not acting in
the exact same way, but I was able to work through that.  I was wondering
if anyone else was running into any ³gotchas² in doing the same thing?  I
mean, I have html that I am rendering in webkit just fine, but when I run
it with the WebEngine, I get errors like:

[0319/180657:ERROR:texture_manager.cc(1561)]
[.RenderCompositor-0119FCC0]GL ERROR :GL_OUT_OF_MEMORY : glTexImage2D: <-
error from previous GL command

I mean it is the exact same code except for some of the webengine specific
stuff.

    QWebEngineSettings *defaultsetting =
QWebEngineSettings::globalSettings();

defaultsetting->setAttribute(QWebEngineSettings::ScrollAnimatorEnabled,fals
e);
    mWidget = new QWebEngineView(this);
    mWidget->setGeometry(0, 0, width(), height());
    mWidget->load(url);
    mWidget->show();

In this code, the url is just html being returned by a local web server ‹
http://localhost/someHtml/index.html.

Thoughts?

//------------------------------//
   Jason R. Kretzer
   Lead Application Developer
   Jason at gocodigo.com<mailto:Jason at gocodigo.com>
//-----------------------------//


_______________________________________________
Interest mailing list
Interest at qt-project.org<mailto:Interest at qt-project.org>
http://lists.qt-project.org/mailman/listinfo/interest
________________________________
No virus found in this message.
Checked by AVG - www.avg.com<http://www.avg.com>
Version: 2015.0.5751 / Virus Database: 4306/9321 - Release Date: 03/17/15
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/interest/attachments/20150323/29198d52/attachment.html>


More information about the Interest mailing list