I use Yocto sucucessfully build the bsp with the qt6 browser installed in evk board.
I use the command : bitbake imx-image-full
After I flash the wic to the kernel, I find the qt6 browser under /usr/share/qt6/examples/webenginewidgets, however I can not open the browser, this is the output both in my display and minicom:
imx8mm-lpddr4-evk:/usr/share/examples/webenginewidgets/cookiebrowser$ ./cookiebrowser
drmModeGetResources failed (Operation not supported)
no screens available, assuming 24-bit color
Path override failed for key base::DIR_APP_DICTIONARIES and path '/usr/share/examples/webenginewidgets/cookiebrowser/qt
webengine_dictionaries'
Cannot create window: no screens available
Aborted (core dumped)
Do you have any suggestion regarding this, I tried to set up the enviroment, exported a lot of changes to the enviroment, still can not run the browser, why?