This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM4378: Qt simple browser does not work on SDK 06.03.00.106

Part Number: AM4378

Hi,

My customer reported an issue with Qt simple browser.
HW and SW are below.
HW: am437x-evm (rev1.4A)
SW: PROCESSOR-SDK-LINUX-RT-AM437X version 06.03.00.106
boot image: https://dr-download.ti.com/software-development/software-development-kit-sdk/MD-gbhx6iCKiY/06.03.00.106/am437x-evm-linux-rt-06.03.00.106.img.zip

Customer wants to run Qt simple browser which is included in SDK, but it does not work.
He tried a few different steps, but nothing worked.

a) Try to execute Qt simplebrowser.
1) boot device from SD card using above boot image.
2) try to execute below
/usr/share/qt5/examples/webenginewidgets/simplebrowser/simplebrowser
3) "Using Wayland-EGL" was on the prompt, but the web browser was not executed.

b) Disable Wayland and try to execute Qt browser.
1) boot device from SD card using above boot image.
2) kill "matrix_browser" and "weston" processes.
3) execute
/usr/share/qt5/examples/webenginewidgets/simplebrowser/simplebrowser
4) below error was shown on the prompt.
Failed to create wl_display (Connection refused)
qt.qpa.plugin: Could not load the Qt platform plugin "wayland" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland.
Aborted (core dumped)

c) Disable Wayland and set same QT_QPA_PLATFORM environment variables.
1) boot device from SD card using above boot image.
2) kill "matrix_browser" and "weston" processes.
3) set below parameters.
export QT_QPA_PLATFORM=eglfs
export QT_QPA_EGLFS_PHYSICAL_WIDTH=85
export QT_QPA_EGLFS_PHYSICAL_HEIGHT=150
4) execute
 /usr/share/qt5/examples/webenginewidgets/simplebrowser/simplebrowser
5) nothing on the prompt. Web browser did not run.

d) Disable Wayland and set QT_QPA_EGLFS_INTEGRATION environment variable.
1) boot device from SD card using above boot image.
2) kill "matrix_browser" and "weston" processes.
3) set below parameter.
export QT_QPA_EGLFS_INTEGRATION=none
4) execute
/usr/share/qt5/examples/webenginewidgets/simplebrowser/simplebrowser -platform eglfs
5) below error was on the prompt.
Could not initialize egl display
Aborted (core dumped)

Could you tell me how to execute Qt simple browser?

Thanks and regards,
Koichiro Tashiro