Error with QT5.7.0 quick renderer 2d on a linuxfb device



  • Hello everyone! After some hard time I finished building Qt5 on a embedded device that uses linuxfb only and no hardware acceleration. When I execute an example with my environment variable QT_QPA_PLATFORM = eglfs I get the following error:

    Could not open egl display
    Aborted

    I did the procedure described in the Quick Renderer 2d page with the environment variable QMLSCENE_DEVICE=softwarecontext and the dummy openGL lib.
    I have no problem using the linuxfb but I need eglfs in order to run qtwebengine.

    Any idea about the problem?



  • Using QT_QPA_PLATFORM=linuxfb give me the following errors:

    QOpenGLWidget is not supported on this platform.
    This plugin does not support createPlatformOpenGLContext!
    This plugin does not support createPlatformOpenGLContext!



  • Problem was really QT_QPA_PLATFORM=eglfs. After changed to linuxfb and solved QML dependencies it worked! :)


Log in to reply
 

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.