Qt5, eglfs, WebKit2 ,Qml and Snowshoe/MiniBrowser
I've been playing around with getting a browser with proper WebGL support to run on my i.IMX6Q target.
I have already tried the browsers from qt5 examples, i.e. browser and fancybrowser. The site "html5test.com":http://html5test.comhtml5test.com reports that they are supporting 394 out of 555 HTML5 elements so it seems pretty compliant.
This browser is suppose to support WebGL according to html5test.com but when running some WebGl tests on "webgltests":http://code.google.com/p/webgltests it fails miserably because the performance is so bad it can't manage to keep up a good framerate. The kernel module for the accelerator on the target seems to be in use at the same time so I guess it is doing some acceleration !!
But I have started to wonder if these browsers are using WebKit2 at all ? and how they then could be supporting WebGL if using WebKit1. Is WebKit1 supporting WebGL ? I was under the impression it didn't.
So I went on and cross-compiled the snowshoe browser which is using WebKit2 and tried to run that on my target. It does execute after I have declared QML2_IMPORT_PATH but the screen is very small and there are some errors being printed out on the console:
Inspector server started successfully. Try pointing a WebKit browser to http://127.0.0.1:9222
qrc:///qml/UrlBar.qml:63:5: QML Connections: Cannot assign to non-existent property "onLoadingChanged"
qrc:///qml/PageWidget.qml:275:13: QML PropertyChanges: Cannot assign to non-existent property "visible"
qrc:///qml/PageWidget.qml:279:13: QML PropertyChanges: Cannot assign to non-existent property "visible"
qrc:///qml/PageWidget.qml:283:13: QML PropertyChanges: Cannot assign to non-existent property "url"
qrc:///qml/main.qml:119:13: QML PropertyChanges: Cannot assign to non-existent property "visible"
qrc:///qml/main.qml:123:13: QML PropertyChanges: Cannot assign to non-existent property "visible"
I have also tried MiniBrowser but it behaves the same as snowshoe.
My questions are:
- Is there anybody with some insight into how to run a proper browser using -platform eglfs ?
- Do I have to explicitly declare something on the configure line to enable WebKit2 when compiling Qt5 ?
- Can I have the 2D canvas accelerated ?
- Is there another browser more suitable for the task of running html5/canvas with WebGL support ?
Please don't post the same question in multiple sub forums, one is enough
I apologize for that, was perhaps pushing a bit hard there for quick response.