Important: Please read the Qt Code of Conduct -

Qt5, eglfs, WebKit2 ,Qml and Snowshoe

  • hi there

    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 "": 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 but when running some WebGl tests on "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:
    <Unknown File>:
    Inspector server started successfully. Try pointing a WebKit browser to
    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"
    <Unknown File>:

    I have also tried MiniBrowser but it behaves the same as snowshoe.

    My questions are:

    1. Is there anybody with some insight into how to run a proper browser using -platform eglfs ?
    2. Do I have to explicitly declare something on the configure line to enable WebKit2 when compiling Qt5 ?
    3. Can I have the 2D canvas accelerated ?
    4. Is there another browser more suitable for the task of running html5/canvas with WebGL support ?


  • Anybody that has some input regarding this ?
    I am basically looking for a lightweight browser that can run html5 and webgl pages. Are there any good candidates ?


  • Netsurf is lightweight, HTML5 is work in progress, not sure about WebGL though...
    Not Webkit based

    Midori is Webkit based - not sure about WebGL

    What about google's blink engine

Log in to reply