AnsweredAssumed Answered

How to enable EGLFS?

Question asked by on Nov 14, 2016
Latest reply on Nov 21, 2016 by

I have built an image using Yocto Project. Also built Qt SDK to be able to develop qt applications for my board.

The OS is console-only, so I want to use EGLFS  plugin backend. What are the steps?


I'm testing a simple QtWidget application. But I get this output (with debug enabled) when I try to run it:


# ./helloworld     
qt.qpa.egldeviceintegration: EGL device integration plugin keys: ("eglfs_viv")
qt.qpa.egldeviceintegration: EGL device integration plugin keys (sorted): ("eglfs_viv")
qt.qpa.egldeviceintegration: Trying to load device EGL integration "eglfs_viv"
qt.qpa.egldeviceintegration: Using EGL device integration "eglfs_viv"
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
 If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
Could not open egl display


Having exported: