[Qtwebengine] Build QtWebEngine on RaspBerry Pi
LongChair69 .
longchair69 at gmail.com
Wed Nov 19 13:31:08 CET 2014
Ok i gave it a shot with QtGraphicsWebview and the simple sample below :
int main(int argc, char *argv[])
{
QApplication app(argc, argv);
const int width = 1900;
const int height = 1000;
QGraphicsScene scene;
QGraphicsView view(&scene);
view.setFrameShape(QFrame::NoFrame);
view.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
view.setHorizontalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
QGraphicsWebView webview;
webview.resize(width, height);
webview.load(QUrl("http://codepen.io/paulirish/pen/LsxyF"));
scene.addItem(&webview);
view.resize(width, height);
view.show();
return app.exec();
}
the url used is a small site to test css transforms with / without
acceleration.
given the speed i'm hitting on this sample, it doesn't looks like it is
using any HW acceleration.
Is there anything that i did wrong in the sample above, or any suggestion
that would explain it's not hitting hw ?
As of now the only way i have been able to get some HW accel on rpi with
*WebView is to use it from qml...
2014-11-18 7:56 GMT+01:00 Florian Bruhin <me at the-compiler.org>:
> Hi,
>
> * LongChair69 . <longchair69 at gmail.com> [2014-11-18 07:36:25 +0100]:
> > I wanted to build also QTWebEngine as it's supposed to bring some
> hardware
> > acceleration over QWebView without having to use qml.
>
> I think you could use a QGraphicsWebView with a QGLWidget as well:
>
>
> http://blog.qt.digia.com/blog/2010/05/17/qtwebkit-now-accelerates-css-animations-3d-transforms/
>
> > Afaik QWebKit also uses chromium (maybe a different version) but builds
> > fine.
>
> It uses Webkit (well, a fork of it essentially), which isn't directly
> connected to Chromium. Chromium used Webkit as well before they
> switched to their own "official" fork; Blink.
>
> Florian
>
> --
> http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
> GPG 0xFD55A072 | http://the-compiler.org/pubkey.asc
> I love long mails! | http://email.is-not-s.ms/
>
> _______________________________________________
> QtWebEngine mailing list
> QtWebEngine at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/qtwebengine
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.qt-project.org/pipermail/qtwebengine/attachments/20141119/77da07a0/attachment.html>
More information about the QtWebEngine
mailing list