i use yocto morty with kernel 4.1.38-fslc+gee67fc7e072d with kernel arguments:
setenv mmcargs "setenv bootargs console=${console},${baudrate} root=${mmcroot} video=mxcfb0:dev=ldb,disp,if=RGB24,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,if=RGB24 fbmem=48M lpj=30000"
I use Qt 5.6.2 and enable HDMI with echo 0 > /sys/class/graphics/fb2/blank
then export QT_QPA_EGLFS_FB="/dev/fb2"
and run my app with ./myApp -platform eglfs -style material
but i get error ( EGL Error : Could not create the egl surface: error = 0x3003)
if i use fbtest on hdmi (/dev/fb2) it will work okay!!!
i dont know what is problem!
Note: if I enable LVDS and HDMI separately they work fine, but if I enable both of them simultaneously I will get this error!!!